Improve the speed of function detector.reset
Function detector.reset
takes a lot of time, mainly because initializing a new instance of Charge class (and other classes) every time instead of just flushing the data that it holds.
Function detector.reset
takes a lot of time, mainly because initializing a new instance of Charge class (and other classes) every time instead of just flushing the data that it holds.