Linux vs. libio
Kevin Atkinson
kevinatk@home.com
Tue Dec 21 11:23:00 GMT 1999
On 21 Dec 1999, Per Bothner wrote:
> Kevin Atkinson <kevinatk@home.com> writes:
>
> > >From http://www.sgi.com/Technology/STL/standard_library.html:
> > ...
> > Which is what I was trying to get at. By directly maniplulating FILE
> > one avoids the extra overhead.
>
> Wise man say: "Every problem in computer science can be solved
> by adding an extra level of indirection." While SGI's technique
> is clever, it is basically just another layer of indirection.
> Specifically, you get at least two extra memory de-references
> even in the fast case.
Will that extra level of indirection *really* make a diffrence in speed I
mean IO is something which is fairly slow in the first place.
--
Kevin Atkinson
kevinatk@home.com
http://metalab.unc.edu/kevina/
More information about the Gcc
mailing list