Euphoria Ticket #219: Regexp find_all/find terribly slow with large strings

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

Type: Bug Report Severity: Normal Category: Library Routine
Assigned To: jeremy Status: Fixed Reported Release: SVN 3463
Fixed in SVN #: 3464,3465 View VCS: 3464, 3465 Milestone:

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.

Search



Quick Links

User menu

Not signed in.

Misc Menu