|
Boost : |
From: Olaf van der Spek (olafvdspek_at_[hidden])
Date: 2006-05-20 05:39:55
On 5/20/06, Slava, Alex <raf.devel_at_[hidden]> wrote:
> On 5/19/06, Olaf van der Spek <olafvdspek_at_[hidden]> wrote:
> > On 5/18/06, Slava, Alex <raf.devel_at_[hidden]> wrote:
> > Could you include the low-level (and probably non-portable) _open,
> > _read, etc calls in your benchmark?
> Ok. Such test has just been made, results are not very different from stdio
> implementation. System call overhead and data copying are killing performance.
> > And I noticed you consider 0 byte files invalid. I think this
> > exception should not be made and they should be considered valid.
> But what is possible to do with this file? Only resize() is valid operation.
Nothing else, but I don't think that's a problem.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk