-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
challenging[RATING] This issue entails technical or design challenges such as a big and unclear scope.[RATING] This issue entails technical or design challenges such as a big and unclear scope.tools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.
Description
matchesRegex: '.*...'
should be as fast as RxMatcher>>search:
, but is currently significantly slower:
longString := String new: 10000 withAll: $x.
longString matchesRegex: '.*y'.
'y' asRegex search: longString.
Can RxMatchOptimizer
handle this?
Related issues:
search:
is pretty inefficient, maybe it could utilize something likefindSubstring:
- analogously, in the other direction, lookbehind matching is very inefficient and could benefit from a "backwards matching" mode ... so many construction sites :-)
Metadata
Metadata
Assignees
Labels
challenging[RATING] This issue entails technical or design challenges such as a big and unclear scope.[RATING] This issue entails technical or design challenges such as a big and unclear scope.tools and libraries[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.[SCOPE] From #asTextToHtml over JSON parsing to Debugger and Browser.