incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <>
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
     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:

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message