summaryrefslogtreecommitdiff
path: root/contrib/foreach.hpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 23:02:44 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-21 23:02:44 -0700
commit33b2efe3181267a047af6087899cc27a2df805ff (patch)
tree91d3ff828fa5ba401e3abd3ca93b165e8996cbd0 /contrib/foreach.hpp
parent52bcb4ecd6a1f87c7a8f82315faac26f5066117a (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 'contrib/foreach.hpp')
0 files changed, 0 insertions, 0 deletions