Closed llGaetanll closed 10 months ago
Using numpy's count_nonzero is faster than iterating with python loop!
count_nonzero
I've found getblockcount to be quite slow when working with large schematics. Using numpy speeds it up for free.
getblockcount
Using numpy's
count_nonzero
is faster than iterating with python loop!I've found
getblockcount
to be quite slow when working with large schematics. Using numpy speeds it up for free.