On Sat, Jul 9, 2011 at 12:16 AM, Chris Angelico <rosuav at gmail.com> wrote: > Has the same optimization been implemented for Unicode? The page > doesn't mention Python 3 at all, and I would guess that the realloc > optimization would work fine for both types of string. Seems to be implemented for strs in 3.2, but not unicode in 2.7.