Gerald Klix <[EMAIL PROTECTED]> wrote:
>  As long as memory mapped files are available, the fastest
>  method is to map the whole file into memory and use the
>  mappings rfind method to search for an end of line.

Excellent idea.

It'll blow up for large >2GB files on a 32bit OS though.
-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to