Project

time_trap

0.0
No release in over 3 years
Low commit activity in last 3 years
TimeTrap is a sorted set which keeps track of the times values are added allowing for investigation of a set over time intervals.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
~> 2.7
~> 1.1
~> 10.1
~> 2.14
~> 0.8
~> 0.8
 Project Readme

TimeTrap

TimeTrap impelents a moving window data structure for keeping track of top-k things as they are created (eg. tweets, exceptions in a log file, or :Q

Installation

bundler gem 'time_trap'
raw gem gem install time_trap

Usage

tt = TimeTrap.new
tt.add("benedict")
tt.add("cumberbatch")