Optimization of removeAll and retainAll of ObservableListWrapper

XMLWordPrintable

    • x86_64
    • os_x

      A DESCRIPTION OF THE PROBLEM :
      ObservableListWrapper.java
      public boolean removeAll (Collection <?> C)
      public boolean retainAll (Collection <?> C)

      These two methods use BitSet, but it doesn't make sense.
      By rewriting to the equivalent behavior that does not use BitSet, it is possible to reduce the CPU load in a wide range of use cases.

      We will send you a PR on github, so please issue a JBS number.

      The test is done with the following command.

      * gradle base: test
      * gradle controls: test


            Assignee:
            Kevin Rushforth
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: