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,418 of 197,517
Downloads: 193

Daily

Ranking: 35,351 of 197,483
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName

Owners

#GravatarHandle
1iconSYNORYXEL