[Python-Dev] Unicode objects more space efficient than plain
strings? can that be?
Thu, 2 May 2002 16:41:13 -0500
>> I'm inclined to change the pymalloc realloc to copy a shrinking block
>> if at least 25% of the input block would go away, else leave it
>> alone. In this specific case, something like 90% of the input block
>> could be reclaimed.
Tim> So I did that.
Much better, thanks. Strange that such a naive "benchmark" would lead to
such odd behavior. I wonder if this is potentially a bugfix candidate, at
least for 2.2.x?