P
Peter Szinek
Hello,
Just to make sure I am not reinventing the wheel(tm) again: is there a
function/lib in Ruby which computes average of timespans? e.g.
first task took 1s:100ms
second task took 1s:400ms
third task took 3s:500ms
--------
average 2s:000ms
TIA,
Peter
__
http://www.rubyrailways.com :: Ruby and Web2.0 blog
http://scrubyt.org :: Ruby web scraping framework
http://rubykitchensink.ca/ :: The indexed archive of all things Ruby
Just to make sure I am not reinventing the wheel(tm) again: is there a
function/lib in Ruby which computes average of timespans? e.g.
first task took 1s:100ms
second task took 1s:400ms
third task took 3s:500ms
--------
average 2s:000ms
TIA,
Peter
__
http://www.rubyrailways.com :: Ruby and Web2.0 blog
http://scrubyt.org :: Ruby web scraping framework
http://rubykitchensink.ca/ :: The indexed archive of all things Ruby