-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
enhancementNew feature or requestNew feature or request

Description
Currently, once a FlatQueue was filled, it will use a considerable amount of memory, even when the queue is less full (even after a clear
).
That happens because the FlatQueue itself will only use this.length
to track the size of the queue, but the ids
and values
arrays will never be shrunk again (to match the current this.length
).
There should be a way to trigger a cleanup of the queue, or it should clean up after itself using some heuristic.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request