You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/05/28 12:51:00 UTC

[jira] [Created] (ARROW-2641) [C++] Investigate spurious memset() calls

Antoine Pitrou created ARROW-2641:
-------------------------------------

             Summary: [C++] Investigate spurious memset() calls
                 Key: ARROW-2641
                 URL: https://issues.apache.org/jira/browse/ARROW-2641
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
    Affects Versions: 0.9.0
            Reporter: Antoine Pitrou


{{builder.cc}} has TODO statements of the form:

{code:c++}
  // TODO(emkornfield) valgrind complains without this
  memset(data_->mutable_data(), 0, static_cast<size_t>(nbytes));
{code}

Ideally we shouldn't have to zero-initialize a data buffer before writing to it.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)