Closed denilsonsa closed 1 year ago
Thanks for the PR. I'm happy to gratefully merge this. But also, am curious about the suggestion to store cooldown in nanoseconds, since that would make the code slightly simpler. Let me try that out. If it results on overall simpler coder I'll publish a PR as an alternative to this.
Nah, now I've remembered what this code looks like, I prefer your fix. Thank you!
When running
rerun2
on my system:This unfortunately seems to happen due to some locale setting that makes comma as the decimal separator:
Alternatively, we could directly specify the cooldown constant as nanoseconds, avoiding the conversion done through
printf
andsed
.