This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++: actually use BUFSIZE for basic_filebufs


Florian Weimer wrote:
> Comments?  (I haven't yet run benchmarks to see if this has indeed an
> effect on run time, but I'd think so.)
>   
Not having looked at all into the substance of the issue, unfortunately
I don't think anything similar can be done at this stage without
breaking the binary compatibility in the wide sense which we are doing
our best to maintain: the size of the basic_filbuf object would change.

If you are wondering how I can reply so quickly ;) it's because at some
point I wanted to just avoid the use of BUFSIZ, because that would allow
us to avoid including large C headers as an implementation detail, and
decided to give up for the time being, exactly because of the above...

By the way, do you have any idea, which is the actual performance impact
of the annoying glitch?

Paolo.


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