Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-2014

Improve UnsignedLongSet allocation rate

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.13, 4.0.7, 2.0.10
    • None
    • clustering
    • None

      Our UnsignedLongSet implementation introduced in CONTROLLER-1720 performs quite nicely, but end up allocating subsets and iterators. We can do better by:

      • using NavigableSet.floor() in UnsignedLongSet.contains()
      • using NavigableSet.higher() in MutableUnsignedLongSet.add()

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: