-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few performance improvements (#263)
* workaround slow dynamic dispatch when creating objects * cache the utf8 array instead of recreating it for every number * microptimize the check for valid digit * update ci files * outline throwing char constructing the error message generates quite a lot of code which makes inlining get an inaccurate view. outlining is a simple fix and reduces the number of active basic blocks in the code from 26 to 9
- Loading branch information
1 parent
192007d
commit e8d39a6
Showing
3 changed files
with
40 additions
and
19 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
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
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