Clean Up IndexInfo struct in index_consistency

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A number of small improvements can be made to this struct.

      • Remove const members and move them into `private` fields (this forces copy-on-move as it cannot bind T&&)
      • Replace `std::set` with `absl::flat_hash_set` 
      • Add default values to primitive member functions

      Changes may provide small performance benefits.

            Assignee:
            Unassigned
            Reporter:
            Benjamin Pearce
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: