Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2641

[C++] Investigate spurious memset() calls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0
    • C++

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h