Author malin
Recipients malin, vstinner
Date 2020-10-28.06:28:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I modify lzma module to use different growth factors, see attached picture different_factors.png

1.5x should be the growth factor of _PyBytesWriter under Windows.

So if change _PyBytesWriter to use memory blocks, maybe there will be no performance improvement.

Over allocate factor of _PyBytesWriter:

    # ifdef MS_WINDOWS
        # define OVERALLOCATE_FACTOR 2
    # else
        # define OVERALLOCATE_FACTOR 4
    # endif

(I'm using Windows 10)
Date User Action Args
2020-10-28 06:28:16malinsetrecipients: + malin, vstinner
2020-10-28 06:28:16malinsetmessageid: <>
2020-10-28 06:28:16malinlinkissue41486 messages
2020-10-28 06:28:15malincreate