summaryrefslogtreecommitdiffstats
path: root/tools/qgltf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-05-07 21:05:39 +0200
committerSean Harmer <sean.harmer@kdab.com>2016-05-08 08:07:55 +0000
commit675669d616fa64b47e4677c662afe2c119a8b7a2 (patch)
treea08ef189877ef9ff4eaf085249a60e305d27009a /tools/qgltf
parent193c27c78b5640bb599a467f87b91e6546859692 (diff)
ShaderParameterPack: use rvalue QVector::push_back
The rvalue overload is more efficient, since it may assume that its argument does not alias a member of *this, avoiding a copy otherwise necessary in the realloc case of the lvalue overload. Saves 144B(!) in text size on optimized GCC 6.0 Linux AMD64 builds. Change-Id: I65dd85137cc3cfae59d81e910215ce39b4b22125 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tools/qgltf')
0 files changed, 0 insertions, 0 deletions