-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize LIKE
pattern compilation
#284
Labels
Comments
dlurton
added a commit
that referenced
this issue
Sep 24, 2020
Implements #284 Replaces previous LIKE implementation which is slow when compiling large patterns with wildcard characters `%` with another implementation that compiles the patterns in linear time and has similar performance characteristics at evaluation time.
dlurton
added a commit
that referenced
this issue
Sep 29, 2020
Implements #284 Replaces previous LIKE implementation which is slow when compiling large patterns with wildcard characters `%` with another implementation that compiles the patterns in linear time and has similar performance characteristics at evaluation time.
dlurton
added a commit
that referenced
this issue
Sep 29, 2020
Implements #284 Replaces previous LIKE implementation which is slow when compiling large patterns with wildcard characters `%` with another implementation that compiles the patterns in linear time and has similar performance characteristics at evaluation time.
dlurton
added a commit
that referenced
this issue
Sep 30, 2020
Implements #284 Replaces previous LIKE implementation which is slow when compiling large patterns with wildcard characters `%` with another implementation that compiles the patterns in linear time and has similar performance characteristics at evaluation time.
Merged
dlurton
added a commit
that referenced
this issue
Sep 30, 2020
Implements #284 Replaces previous LIKE implementation which is slow when compiling large patterns with wildcard characters `%` with another implementation that compiles the patterns in linear time and has similar performance characteristics at evaluation time.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment it takes a pathologically large amount of time and RAM to compile large
LIKE
patterns.#279 made the expression
'foo' like '%<n>%'
(where '' is 1500 '!' characters) take ~2.6 seconds to compile which is down from ~37 seconds and a big improvement but this is still an order of magnitude too slow. This should take significantly less then that even--into the tens of milliseconds or even less.The text was updated successfully, but these errors were encountered: