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

Improve UnsignedLongSet allocation rate

    XMLWordPrintable

Details

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

    Description

      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()

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: