Categories: None [Edit]

fast_mb_chars

https://rubygems.org/gems/fast_mb_chars
https://github.com/SYNORYXEL/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,814 of 198,088
Downloads: 223

Daily

Ranking: 58,253 of 198,053
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconSYNORYXEL