Skip to content

Speed up bytes creation from list and tuple #128213

Open
@blhsing

Description

@blhsing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions