commit | 34411e17b0f77a2ae7b34fdb6b52ddcf5ea9ae3c | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@wyplay.com> | Mon Oct 03 12:21:33 2011 +0200 |
committer | Victor Stinner <vstinner@wyplay.com> | Mon Oct 03 12:21:33 2011 +0200 |
tree | 1abeb8d3763fda59e5b24e25674d2e53ef152897 | |
parent | a849a4b6b4c29f4cad0ee71a9fc5ebc16f6bb504 [diff] |
resize_inplace() has been fixed: reenable this optimization
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 6e4ef3d..2dea8a5 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -1212,9 +1212,6 @@ if (ch < 256 && unicode_latin1[ch] == unicode) return 0; } - /* FIXME: reenable resize_inplace */ - if (!PyUnicode_IS_COMPACT(unicode)) - return 0; return 1; }