This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linux vs. libio


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.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]