[llvm-commits] [PATCH] Remove GNU particuliers from NewNightlyTest.pl , more system portable.
Benjamin Kramer
benny.kra at googlemail.com
Thu Jun 18 04:31:53 PDT 2009
Sorry, but seeing this ugly perl code almost made my cry (not your
fault though). So I decided to port it to File::Find which is part of
perl's standard library.
This gives us some advantages:
1. portability: File::Find works even on windows ;)
2. performance: the new code is >100 times faster on my machine. The
slowdown is probably caused by backtracking in the old regex
3. cleanup: there were lots of duplicated code
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nightlyfind.patch
Type: application/octet-stream
Size: 2027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090618/fca384df/attachment.obj>
-------------- next part --------------
More information about the llvm-commits
mailing list