[mypyc] Add primitives and specialization for ord() by JukkaL · Pull Request #18240 · python/mypy
Conversation
This makes a microbenchmark adapted from an internal production codebase that heavily uses ord() over 10x faster.
Work on mypyc/mypyc#644 and mypyc/mypyc#880.
JukkaL
changed the title
[mypyc] Add primitive and specializations for ord()
[mypyc] Add primitives and specialization for ord()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters