diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-19 01:46:48 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-09-19 15:27:57 +0200 |
commit | d05965963d402b54b7e7c662802ecea69ad50745 (patch) | |
tree | 8f291afa51bcc54f2e33949a2ceeb3fe22e63171 /editor/export_template_manager.cpp | |
parent | 60790c8c5aca9435d1b54ffd8a51a9137c9ad617 (diff) |
Don't call Variant::reference() unnecessarily
operator= does not need to call reference() if the new value is of the
same type as the old. This saves us zeroing the Variant, This speeds
up reuse of a Variant in a loop by roughly 50%.
Diffstat (limited to 'editor/export_template_manager.cpp')
0 files changed, 0 insertions, 0 deletions