RESOLVED FIXED121178
update-webkit-localizable-strings is at least 5.8x slower than it should be
https://bugs.webkit.org/show_bug.cgi?id=121178
Summary update-webkit-localizable-strings is at least 5.8x slower than it should be
mitz
Reported 2013-09-11 12:43:08 PDT
update-webkit-localizable-strings is at least 5.8x slower than it should be
Attachments
Make update-webkit-localizable-strings 5.8x faster (1.31 KB, patch)
2013-09-11 12:59 PDT, mitz
darin: review+
mitz
Comment 1 2013-09-11 12:59:53 PDT
Created attachment 211342 [details] Make update-webkit-localizable-strings 5.8x faster
Darin Adler
Comment 2 2013-09-11 13:56:39 PDT
There are lots of tricks to make regular expressions faster in perl. For example, I think non-capturing parentheses are faster, and maybe two separate regular expressions might be faster than then using “|”.
mitz
Comment 3 2013-09-11 14:02:14 PDT
Note You need to log in before you can comment on or make changes to this bug.