Closed cyderize closed 8 years ago
Only serialize elements up to PQueue.count, since array elements may exist beyond that, but are not actually part of the priority queue (they remain after dequeuing elements since the underlying array does not shrink).
PQueue.count
Fixes #396.
Only serialize elements up to
PQueue.count
, since array elements may exist beyond that, but are not actually part of the priority queue (they remain after dequeuing elements since the underlying array does not shrink).Fixes #396.