looking for speed-up ideas

John La Rooy nospampls.jlr at doctor.com
Mon Feb 3 21:24:06 EST 2003


On 4 Feb 2003 01:22:32 GMT
William Park <opengeometry at yahoo.ca> wrote:

> 
> Behold:
>     egrep '^F' dumpfile | sort -t '/' -n -k 2,2 | tail -200
> 
> How fast does it run?

The 'sort' is going to kill performance here. Probably ok on 300k lines
but 2.2M is probably pushing it.


John





More information about the Python-list mailing list