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 malin
Recipients brandtbucher, christian.heimes, malin, methane, serhiy.storchaka
Date 2022-03-24.07:22:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I posted remove-bytes-hash.patch in this issue. Would you measure how this affects whole application performance rather than micro benchmarks?

I guess not much difference in benchmarks.
But if put a bytes object into multiple dicts/sets, and len(bytes_key) is large, it will take a long time. (1 GiB 0.40 seconds on i5-11500 DDR4-3200)
The length of bytes can be arbitrary,so computing time may be very different.

Is it possible to let code objects use other types? In addition to ob_hash, maybe the extra byte \x00 at the end can be saved.
Date User Action Args
2022-03-24 07:22:52malinsetrecipients: + malin, christian.heimes, methane, serhiy.storchaka, brandtbucher
2022-03-24 07:22:52malinsetmessageid: <>
2022-03-24 07:22:51malinlinkissue46864 messages
2022-03-24 07:22:51malincreate