On Tue, Jul 16, 2002 at 11:35:10AM -0700, John Porter wrote:
> Damien Neil wrote:
> > I'm not familiar with "predictive seeks",
> > can you give a quick explanation?
> 
> It's very much like predictive loading of the instruction cache
> in a cpu.  It makes a heuristic guess that since you just read
> 1000 bytes in order, you're probably going to want to read the
> next 1000 bytes in order, so it reads them in even before you
> ask for them.  This can be extended to seeks in general.
> However, "prediction" is usually too strong a term.
> It's usually just pre-reading of the linear stream[1].
> (The program is a lazy consumer. :-)

Ah, that I'm familiar with.  Surely that isn't specific to async
I/O?  I'm fairly certain that many OSs will do readahead on ordinary
read() calls.


> In the end, there should be nothing of which it can be said,
> "It is easier to do in Tcl than in Perl." [2]

Hear, hear!  :>

I've been missing Tcl's event loop for years.

                       - Damien

Reply via email to