Open LinqLover opened 4 months ago
matchesRegex: '.*...' should be as fast as RxMatcher>>search:, but is currently significantly slower:
matchesRegex: '.*...'
RxMatcher>>search:
longString := String new: 10000 withAll: $x. longString matchesRegex: '.*y'. 'y' asRegex search: longString.
Can RxMatchOptimizer handle this?
RxMatchOptimizer
Related issues:
search:
findSubstring:
matchesRegex: '.*...'
should be as fast asRxMatcher>>search:
, but is currently significantly slower:Can
RxMatchOptimizer
handle this?Related issues:
search:
is pretty inefficient, maybe it could utilize something likefindSubstring: