aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@viroteck.net>2014-10-15 14:13:53 +0200
committerRobin Burchell <robin.burchell@viroteck.net>2014-10-29 22:25:48 +0100
commit4b73acd49cc4f08a5169efba8169f968094063e0 (patch)
tree38db09cd6bc7bc017d500c237e5d11ed7258bc00 /tests/manual
parentaed97ab52133a06f998bf481be2b0d08b2107185 (diff)
Move from a count of cursors, to storing whether or not a subtree has a cursor.
Calculation of this is going to be slower (of course) as we have to recurse the children, but this only happens when unsetting a cursor or removing a child item from a tree that had a cursor. On the other hand, wasting 4 bytes per ExtraData plus padding is quite a large concern, and it was also forcing allocation of ExtraData for an entire tree that had a cursor set. This also reduces the size of ExtraData from 152 down to 144 bytes through reordering of members on x86_64. Change-Id: Iab14ee71c762285bf4448fc86399070263eb118d Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'tests/manual')
0 files changed, 0 insertions, 0 deletions