diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-21 23:02:44 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-21 23:02:44 -0700 |
commit | 33b2efe3181267a047af6087899cc27a2df805ff (patch) | |
tree | 91d3ff828fa5ba401e3abd3ca93b165e8996cbd0 /tests/test_unicode.cpp | |
parent | 52bcb4ecd6a1f87c7a8f82315faac26f5066117a (diff) |
Optimize xml_allocator::reserve()
Make sure compact_hash_table::rehash() is not inlined - that way reserve() is
inlined so the fast path has no extra function calls.
Also use subtraction instead of multiplication when checking capacity.
Diffstat (limited to 'tests/test_unicode.cpp')
0 files changed, 0 insertions, 0 deletions