Skip to content
Snippets Groups Projects
Commit d1d72aa7 authored by Martijn van Beurden's avatar Martijn van Beurden
Browse files

Speed up bitwriter_grow_ by growing exponentially

Growing up to the max allowed size took roughly 4000 reallocations,
which can be expensive. Now grow exponentially, which requires
about 30 reallocations up to max size.
parent 070622ca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment