Crate fenster

source ·

Structs§

  • A simple sliding window implementation in rust. It uses a vector as ring buffer and a sum counter to prevent the requirement of iterating over the entire buffer for each time the total count is required.
  • A time based window implementation. That will keep track of a total maximum over a given window of time.