Frankie Robertson
Frankie Robertson
Well that wasn't quite as easy as advertised: https://gist.github.com/frankier/4bbc85f65ad3311ca5134fbc744db711 I had to (ab?)use transferHandlers to make Statement a proxy too. This way we get to use the full original API,...
As @rhashimoto pointed out in my gist, [you have to be careful about freeing up ComLink proxies](https://github.com/GoogleChromeLabs/comlink/pull/348), making its safe use even less easy than advertised.
Can't access it from anywhere! It's internal for some reason (not very open then, but that word seems to have lost all meaning these days).
This would be nice in theory, but spawning a program at startup would significantly slow down start up time I think.
So I never rebased it because I was not really happy with it as is, but this patch could be made nicer if based against a pyahocorasick with structure outlined...
So the idea is to make it so Python and non Python stuff can be imported from ahocorasick together. This is typically done by naming the C module `_mymodule` and...
If you use STORE_LENGTH you can combine the end position and length to get the portion of the haystack to slice. EDIT: Although possibly a convenience method which does this...
Hi Pehat, Why can't you trace back in the string being searched, like I suggested?
How about adding a tuple (length, current_value) to the Trie. It should use less space than storing the input string too. Does it solve your space problem?
I am also interested in the possibility of having some blocks not execute e.g. if I have a document with some stuff at the beginning I would like to show,...