Scala Programming Language
  1. Scala Programming Language
  2. SI-7102

BitSet should implement isEmpty directly and not rely SetLike

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.11.0-M3
    • Component/s: Collections
    • Labels:
      None

      Description

      BitSet does not implement/override isEmpty but instead relies on the implementation from SetLike. This implementation checks if size == 0 which is not efficient for BitSets.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Eugene Vigdorchik
            Reporter:
            Magnus Madsen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development