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 serhiy.storchaka
Recipients dhillier, serhiy.storchaka
Date 2019-10-29.07:01:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572332497.45.0.439587820519.issue37523@roundup.psfhosted.org>
In-reply-to
Content
Thank you Daniel. But profiling is not good for benchmarking, it adds too much overhead. It can help to find narrow places, but for measuring effect of optimization you need to measure the raw time on non-debug build.

Semantically your changes are correct. I just want to know whether this adds a significant overhead. If it is, we should consider some kind of optimizations. It does not matter for Python implementation of BytesIO because in normal we use the C implementation.
History
Date User Action Args
2019-10-29 07:01:37serhiy.storchakasetrecipients: + serhiy.storchaka, dhillier
2019-10-29 07:01:37serhiy.storchakasetmessageid: <1572332497.45.0.439587820519.issue37523@roundup.psfhosted.org>
2019-10-29 07:01:37serhiy.storchakalinkissue37523 messages
2019-10-29 07:01:37serhiy.storchakacreate