summaryrefslogtreecommitdiffstats
path: root/pactest/pmenv.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-05-10 01:56:15 +0200
committerDan McGee <dan@archlinux.org>2008-05-10 18:04:17 +0200
commit1ba0d84da29d436f2b82c8961886ea2d021194d0 (patch)
tree8b144ed34d3907faf77ab54a95d49b4aaebfcf33 /pactest/pmenv.py
parentb49fc504acffa470cce31fb889723ecd86b314de (diff)
downloadpacman-1ba0d84da29d436f2b82c8961886ea2d021194d0.tar.gz
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/pmenv.py')
0 files changed, 0 insertions, 0 deletions