freeIndices property

Iterable<int> get freeIndices

Physical indices available for allocation.

Implementation

Iterable<int> get freeIndices sync* {
  for (var index = 0; index < capacity; index++) {
    if (entries[index] == null) {
      yield index;
    }
  }
}