Euphoria
Ticket #219:
Regexp find_all/find terribly slow with large strings
-
Reported by
jeremy
Oct 06, 2010
I am not sure what size it becomes unusable but on 800k find_all is totally unusable. I'm pretty sure it is the seq -> char * conversion, going to test a few things.
Details
1. Comment by jeremy
Oct 06, 2010
exec machine function now accepts a sequence or an atom representing a C string. find_all now creates a C string of the sequence and passes that to exec machine function. This saves repetitive MakeCString calls which was the bottle neck.