d56f0ccdf6
We know up front how many items we can have in the queue (-B/Bflag), so pay the cost of those particular allocations early on. The reduced queue maintenance overhead seemed to yield about an ~8% improvement for my earlier `grep -C8 -r closefrom .` test. MFC after: 2 weeks |
||
---|---|---|
.. | ||
tests | ||
file.c | ||
grep.1 | ||
grep.c | ||
grep.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.options | ||
queue.c | ||
util.c | ||
zgrep.1 | ||
zgrep.sh |