Colm MacCarthaigh wrote:

The optimisations wouldn't be removing buffering, they'd be using a
different kind of buffering :-) If MMap is not available/enabled we can
fail back to a buffered APR read.

So it's evolved even further...

I would be interested to see in a variety of cases which one is actually faster:

-normal buffered apr read

-alloc entire buffer, read_full into it.

-mmap file.


Colm, are you already writing code?  If not, I may give it a swing...


--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Reply via email to