[cl-ppcre-devel] slow matching
Carlos Konstanski
ckonstanski at pippiandcarlos.com
Thu Jul 17 14:55:23 UTC 2008
I was not on the list at the time that Edi posted the message "1.4.0/1
performance" which is why I am posting a new one instead of replying.
I am using threaded SBCL 1.0.18 on gentoo amd64. On my platform,
matching has slowed to a crawl. It takes 1.5 to 2 seconds to perform
the following match:
(cl-ppcre:all-matches-as-strings "^\\d\\d\\d\\d-\\d\\d-\\d\\d\\d\\d:\\d\\d:\\d\\d\.0$" <anystring>)
I'm sure I could write this regex better. Nevertheless it runs
hundreds of times slower than it did previously.
I'll test on the same setup with x86 and give a report.
Carlos Konstanski
More information about the Cl-ppcre-devel
mailing list