Speed up bytes creation from list and tuple #128213
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
performance
Performance or resource usage
type-feature
A feature request or enhancement
Feature or enhancement
Proposal:
The performance of bytes creation from list and tuple can benefit from the same fast path using
PySequence_Fast_ITEMS
done for bytearray in gh-91149.I have a PR ready.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: