diff options
author | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-03-03 13:00:28 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2016-03-08 09:37:51 +0000 |
commit | 46204fd5d1362811ae040a4a9cb6cf01c37e77c1 (patch) | |
tree | 8b14af8871cb852b599f53862e28c93e57679644 /src/particles/qquickage.cpp | |
parent | ec3b4cf7a5de9a4ead73f09c3d7a02421b29f805 (diff) |
Particles: make many QQuickParticleData members inlinable.
Calls to these functions often occur in sets of two (x, y) or even more
(x, y, vx, vy, etc). By allowing the compiler to inline, it allows for
many CSE opportunities. Also, if your compiler is reasonably good, it
will also auto-vectorize the operations.
Change-Id: I4bffe4826671dd60683b941a569fc6a7b4b34da7
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/particles/qquickage.cpp')
0 files changed, 0 insertions, 0 deletions