Simple TopK operator in JS
Finds the topK in an infinite stream of data
Insertion in O(1) Memory in O(K), but it's recommended to give more than K spaces if you want good results. (see overestimates).
Leaderboard in O(K)
This is an efficient implementation in native javascript, not using Redis.
License: BSD