Open scolby33 opened 5 years ago
Maybe change this first value to float('-inf')
@cthoyt do you see a possible problem with that?
How about None? Or get busy moving to Pittsburg
With None
I need
if last_time_called is None: nevermind
else: whatever
vs. with -inf
, I can still do the same math I'm doing.
okay
time.perf_counter()
starts at 0, so no rate-limited functions will be called before one time interval has passed.