Project

General

Profile

ยซ Previous | Next ยป 

Revision e8873e01

Added by k0kubun (Takashi Kokubun) almost 3 years ago

[ruby/erb] Use strpbrk only when str is long enough for SIMD

This is the same trick used by https://github.com/k0kubun/hescape to
choose the best strategy for different scenarios.

https://github.com/ruby/erb/commit/af26da2858