You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add first-class support for typed-array-backed queues via capacity constructor argument — if provided, the queue will be backed by typed arrays (Float64Array for values and Uint32Array for ids by default, configurable):
Do not shrink the underlying arrays on pop and clear, keeping their capacity for reuse. This improves performance of cases where FlatQueue is extensively reused, like Flatbush.