stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-249) std::operator>>(istream, string&) inefficient
Date Fri, 30 Jun 2006 19:30:29 GMT
std::operator>>(istream, string&) inefficient
---------------------------------------------

         Key: STDCXX-249
         URL: http://issues.apache.org/jira/browse/STDCXX-249
     Project: C++ Standard Library
        Type: Improvement

  Components: 21. Strings  
    Versions: 4.1.2, 4.1.3    
 Environment: all
    Reporter: Martin Sebor
 Assigned to: Martin Sebor 
    Priority: Minor


The string extractor reads and appends one character at a time. It could be made more efficient
by extracting and appending all non-whitespace characters that are available in the buffer
in chunks. See the definition of the operator here:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/istream.cc?revision=383265

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message