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