Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Documentation of REGEXP support in DBD::SQLite?

by LanX (Saint)
on Nov 15, 2024 at 09:59 UTC ( [id://11162710]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Documentation of REGEXP support in DBD::SQLite?
in thread Documentation of REGEXP support in DBD::SQLite?

Thanks for this, I had something like trigrams in mind.

But for full automatic regex support one would need to analyse the regex and identify the substrings which are in all execution paths ...

Quite a task.

Though... Perl does some optimisation when compiling its regexes and it's possible to introspect the result. It might be possible to build on this.

On a side note: true, the index adds 150% to the datas size. But the speed gain is dramatic enough to justify it in many use cases.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^5: Documentation of REGEXP support in DBD::SQLite?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11162710]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2026-05-13 01:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.