[Bug libstdc++/45574] cin.getline() is extremely slow

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 9 09:25:00 GMT 2010



------- Comment #15 from paolo dot carlini at oracle dot com  2010-09-09 09:25 -------
If you write a patch it would be of course looked at. But *please* try first
something that doesn't break the ABI, because we have *no* idea when you
changes would be applied otherwise. About the *_unlocked functions, we know
those glibc extensions exist, but, as far as I can see would only change the
complexity by a not so so small multiplicative constant and, after years and
years of using everywhere the normal versions, I don't believe we should change
just now the configuration on Linux only. But, as I said, provided you don't
break the ABI (to be concrete) and the improvements are substantive, you are
certainly welcome to submit patches to the libstdc++ mailing list. Thanks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45574



More information about the Gcc-bugs mailing list