KEMBAR78
[mypyc] Add primitives for str.encode() by 97littleleaf11 · Pull Request #10974 · python/mypy · GitHub
Skip to content

Conversation

97littleleaf11
Copy link
Collaborator

Description

Add primitives for str.encode(...)

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Now the encode_decode benchmark is about 2x faster compared to before the dedicated primitives for encode and decode were added.

@JukkaL JukkaL merged commit 3970cc3 into python:master Aug 12, 2021
@97littleleaf11 97littleleaf11 deleted the encode branch February 22, 2022 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants