Comment

Comment by TylerGlaiel

This implementation grows indefinitely if you repeatedly push to the head and remove from the tail, even if the max number of elements in the array is small

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton