This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Linux vs. libio
- To: Per Bothner <per at bothner dot com>
- Subject: Re: Linux vs. libio
- From: Kevin Atkinson <kevinatk at home dot com>
- Date: Tue, 21 Dec 1999 14:24:19 -0500 (EST)
- cc: gcc at gcc dot gnu dot org, libc-alpha at sourceware dot cygnus dot com
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/