diff options
author | Dan McGee <dan@archlinux.org> | 2008-05-09 18:56:15 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-10 11:04:17 -0500 |
commit | 1ba0d84da29d436f2b82c8961886ea2d021194d0 (patch) | |
tree | 8b144ed34d3907faf77ab54a95d49b4aaebfcf33 /pactest/tests/pacman002.py | |
parent | b49fc504acffa470cce31fb889723ecd86b314de (diff) | |
download | pacman-1ba0d84da29d436f2b82c8961886ea2d021194d0.tar.xz |
pacsearch: rewrite in perl
This rewrite in perl blows the socks off the old shell script version for
large searches:
$ time ./pacsearch.perl ^.*$ >/dev/null
real 0m0.836s
user 0m0.593s
sys 0m0.217s
$ time pacsearch.sh ^.*$ >/dev/null
real 1m53.818s
user 1m16.818s
sys 0m33.694s
Functionality and output is identical to the old version with the exception
of the old version's missing EOL after all the output. It should be a lot
easier to add new things like the --color flag that has been a TODO at the
top of the script for a long time.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/pacman002.py')
0 files changed, 0 insertions, 0 deletions