Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make constraint checks Num/Int/Str literals 1.1x-10x faster
Str is 1.1x / Int is 7.7x / Num is 10x When code-genning ParamTypeCheck for Num/Int/Str literals in sigs (e.g. `-> 42 {}`), don't go through .ACCEPTS call and instead gen pure-nqp-op concreteness and equality check (nqp::iseq_I needs an explicit decont too; tho others don't)
- Loading branch information
1 parent
5dd9ed1
commit 65d4876
Showing
1 changed file
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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