incubator-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] Updated: (STDCXX-249) std::operator>>(istream, string&) inefficient
Date Mon, 10 Dec 2007 07:13:43 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor updated STDCXX-249:
--------------------------------

             Severity: Inefficiency
    Affects Version/s: 4.1.4
                       4.2.0
        Fix Version/s: 4.2.1

This affects all released versions. Scheduled for 4.2.1 along with STDCXX-231.

> std::operator>>(istream, string&) inefficient
> ---------------------------------------------
>
>                 Key: STDCXX-249
>                 URL: https://issues.apache.org/jira/browse/STDCXX-249
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: 21. Strings
>    Affects Versions: 4.1.2, 4.1.3, 4.1.4, 4.2.0
>         Environment: all
>            Reporter: Martin Sebor
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2.1
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message