For debug builds, limit the size of the 'fast' reps array to a very small number

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Internally to mutable, there is a data structure that holds a fixed size array of 'fast' ElementRep objects. If that array is filled, we then spill to a std::vector.

      One side effect of this is that tests that only manipulate a small number of elements never hit the std::vector.

      We want our testing to test both modes. The easiest way to achieve this is to select a very small size for the 'fast' objects in debug builds.

            Assignee:
            Andrew Morrow (Inactive)
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: