Hacker News new | ask | show | jobs
by jwn 4846 days ago
One issue with that is that it doesn't expel older entries. The capacity specified in the constructor is just the initial capacity.