-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ruby internals are optimized for common encodings such as UTF-8,
whereas rb_enc_find requires an extra hash lookup. That said, I've yet to measure an improvement in current benchmarks, though binary size is reduced: text data bss before: 63988228 718148 110676 after: 63987419 718108 110676
- Loading branch information
1 parent
bdb0977
commit 9cf4ed6
Showing
1 changed file
with
4 additions
and
9 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