0

I get all kinds of data, which gets updated every second. I need to write a function that gives me the last 30 values (of the last 30 seconds) of a certain attribute. What would be the most memory-efficient way to save the last 30 values of something? Everything older than 30 seconds can be discarded. I have to do this action 96k times/second.

Sebaku
  • 31
  • 3

0 Answers0