A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-May/023915.html below:

[Python-Dev] Unicode objects more space efficient than plain strings? can that be?

[Python-Dev] Unicode objects more space efficient than plain strings? can that be? [Python-Dev] Unicode objects more space efficient than plain strings? can that be?Skip Montanaro skip@pobox.com
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?

Skip




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4