summaryrefslogtreecommitdiff
path: root/tests/main.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-10 19:31:30 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-10-10 19:31:30 -0700
commite6dd761ca36a6c27a8bc960d09767787aa997836 (patch)
treed179367f77be644ff3322d6875cf05e97a64e9cf /tests/main.cpp
parentfbaab4dcad9eafc2c17f8030bb3c924fca644795 (diff)
Split hash table operations into reserve and insert
Insert is now unsafe - since we don't have a way to handle rehash() failures transparently we need to reserve space beforehand. Reserve is now called before every tree-mutating operations and it guarantees that we can perform 16 arbitrary pointer mutations after that. This fixes all test crashes with compact mode.
Diffstat (limited to 'tests/main.cpp')
0 files changed, 0 insertions, 0 deletions