I'm looking for a way to efficiently maintain a set of values from a 1 minute sliding window from a given datastream (~100k values/sec).
I'm looking for solution with at most logarithmic insertion time (since basic time-ordered vector of values has o(n))