Closed zrwusa closed 7 months ago
Describe the bug The performance of Queue.shift and Deque.shift is slower than Array
Due to the fact that both Deque and Queue maintain an offset, the pop method is slightly slower than Array. However, the shift method is significantly faster by several orders of magnitude.
Describe the bug The performance of Queue.shift and Deque.shift is slower than Array