mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cody Maloney (JIRA)" <>
Subject [jira] [Created] (MESOS-2814) os::read should have one implementation
Date Thu, 04 Jun 2015 02:49:38 GMT
Cody Maloney created MESOS-2814:

             Summary: os::read should have one implementation
                 Key: MESOS-2814
             Project: Mesos
          Issue Type: Improvement
          Components: stout
            Reporter: Cody Maloney

Currently stout os::read() has two radically different implementations when you give it a
{{std::string}} vs. a {{const char *}}. Ideally these have one implementation that does things
like intelligently size the buffer that it writes into rather than re-allocating repeatedly
with every time it lengthens the string (resulting in copious copying). 

This message was sent by Atlassian JIRA

View raw message