@john_darksoul if the bottom bit is a 1, it's odd
Timeline
Post
Remote status
Context
4
@deprecated_ii @john_darksoul modulo is a very expensive op computationally so this is good
not that it probably matters in python
not that it probably matters in python
@RustyCrab @john_darksoul I modulo as little as computerly possible, yeah
@deprecated_ii @RustyCrab @john_darksoul it all depends on werether or not the modulo will be impactful performance wise, if the program is opening and closing multiple file for read/write operations a couple uses of modulo will not impact performance at all.
@EdBoatConnoisseur @RustyCrab @john_darksoul perhaps, but there's no cognitive load (for me) in avoiding it in the normal case
Replies
1@deprecated_ii @RustyCrab @john_darksoul just build the program first, then delve into making it fast where it matters.