Categories: None [Edit]
fast_mb_chars
Faster String#mb_chars. limit(bytes) cuts on a character boundary without
walking the whole string and without raising on a broken byte. A 1 MB cut
is about 2,000 times faster than the ActiveSupport grapheme scan, and a
7 MB cut is about 3,000 times faster.
downcase, upcase, titleize, reverse, split, slice!, compose, decompose,
tidy_bytes, and the other string methods are forwarded through method_missing.
They still return mb_chars, so existing chains keep working.
Total
Ranking: 197,418 of 197,517
Downloads: 193
Daily
Ranking: 35,351 of 197,483
Downloads: 2
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | SYNORYXEL |