[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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:

  // TODO(emkornfield) valgrind complains without this
  memset(data_->mutable_data(), 0, static_cast<size_t>(nbytes));

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

This message was sent by Atlassian JIRA