Project

General

Profile

« Previous | Next » 

Revision e8873e01

Added by k0kubun (Takashi Kokubun) over 2 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