Optimizations for bytes reallocation.
This uses up to 12.5% overallocation, not entirely unlike list_resize(). Could probably use more tweaks for odd allocation patterns, TBD. Also add __alloc__() method which returns the actually allocated size. PS. I'm now convinced that we need something like "".join(); later.
G
Guido van Rossum committed
a0867f79bbdd2b38add23fced8e5ae071ce09f70
Parent: 5584245