diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-11-22 16:47:09 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-11-22 18:15:21 +0100 |
commit | af05d382f26c828a45ba39044cf4e514c0fe9cc6 (patch) | |
tree | b4c034401e3c6d33b66b2d5ff1a00cd55f7793c4 /src/interface-gtk/interface-gtk.cpp | |
parent | 813d9b95d2f59d9a2702e2287f8f6965ba1bbf53 (diff) | |
download | sciteco-af05d382f26c828a45ba39044cf4e514c0fe9cc6.tar.gz |
save some bytes per Q-Register creation on the undo stack
* a table reference was stored in the UndoToken.
* since there are only two tables at a given moment, this can
be avoided by having two different undo tokens, one for globals
and one for locals.
* Practically, undo tokens for locals are only created for the
top-level local Q-Reg table since macro calls with locals
with set must_undo to false since the local table is destroyed
with the macro return.
Diffstat (limited to 'src/interface-gtk/interface-gtk.cpp')
0 files changed, 0 insertions, 0 deletions