![]() |
|
XP is just a number | |
PerlMonks |
Re^2: Documentation of REGEXP support in DBD::SQLite?by ibm1620 (Hermit) |
on Nov 14, 2024 at 20:16 UTC ( [id://11162703]=note: print w/replies, xml ) | Need Help?? |
Thank you for finding that for me!
Perl regexes are hooked into sqlite using a callback mechanism. But filtering row-wise. That's much slower than a native implementation. I'm not quite clear on what you mean by "native implementation" - would linking in libpcre2 (or another) as a custom function be expected to perform better? Or would I be better off using a different DBMS with built-in REGEXP support such as mySQL? (It does appear that both mySQL and SQLite REGEXP can't use the index and have to search the data itself.)
In Section
Seekers of Perl Wisdom
|
|