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

[C++] Reduce header dependencies

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • C++

    Description

      To tame C++ compile times, we should try to reduce the number of heavy dependencies in our .h files.

      Two possible avenues come to mind:

      • avoid including `unordered_map` and friends
      • avoid including C++ stream libraries (such as `iostream`, `ios`, `sstream`...)

      Unfortunately we're currently including `sstream` in `status.h` for some template APIs. We may move those to a separate include file (e.g. `status-builder.h`).

      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 - 1h
                  1h