Re: efficient 'tail' implementation
- From: Nick Craig-Wood <nick@xxxxxxxxxxxxxx>
- Date: Thu, 08 Dec 2005 08:30:04 -0600
Gerald Klix <Gerald.Klix@xxxxxxx> 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 <nick@xxxxxxxxxxxxxx> -- http://www.craig-wood.com/nick
.
- References:
- efficient 'tail' implementation
- From: s99999999s2003
- Re: efficient 'tail' implementation
- From: Mike Meyer
- Re: efficient 'tail' implementation
- From: bonono
- Re: efficient 'tail' implementation
- From: Gerald Klix
- efficient 'tail' implementation
- Prev by Date: Re: Encoding of file names
- Next by Date: Re: Documentation suggestions
- Previous by thread: Re: efficient 'tail' implementation
- Next by thread: Re: efficient 'tail' implementation
- Index(es):
Relevant Pages
|
Loading