Track the top (or bottom) N keys added to a list, and discard the remainder.
Michael Graff
December 16, 2013 7:18pm
MIT