_G_IO_NO_BACKWARD_COMPAT
Andreas Jaeger
aj@suse.de
Sun Nov 10 04:21:00 GMT 2002
Roland McGrath <roland@redhat.com> writes:
>> On Wed, 2002-11-06 at 04:04, Roland McGrath wrote:
>> > > Is there any to leave _G_IO_NO_BACKWARD_COMPAT undefined in a new
>> > > glibc port? I believe defining this macro will make libio somewhat
>> > > faster.
>>
>> > I can't see any reason not to define it, as you say. That has not been
>> > tested so there is likely to be some bit-rot, but that is easily fixed.
>>
>> Would this be useful for i386-gnu at all?
>
> The extent of useful it gets is saving a load of a word that's always zero
> and an addition. It's a minor optimization, though one in the critical
> path of most libio uses.
>
> If it's done, I think it should be done generically contingent on SHLIB_COMPAT.
So, would it be usefull for all systems introduced after glibc 2.2?
And can it be done without breaking compatibility with existing
systems?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-alpha
mailing list