This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-09-26.07:32:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Mercurial has another implementation strategy for a similar thing:

I found an interesting comment in the following issue:

"I think the trouble we get into is chunkbuffer() creates new large strings by concatenation and causes memory fragmentation. Keeping a list of chunks might be more efficient."

@Antoine: Do you know if your patch may reduce the memory fragmentation on "bytearray front-slicing"?
Date User Action Args
2013-09-26 07:32:15vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-09-26 07:32:15vstinnersetmessageid: <>
2013-09-26 07:32:15vstinnerlinkissue19087 messages
2013-09-26 07:32:15vstinnercreate