DEV Community

Discussion on: The FizzBuzz problem

Collapse
 
paddy3118 profile image
Paddy3118 • Edited

Unfortunately four numbers doesn't explain much.
Modulo is usually one machine code instruction. Other parts of the program will probably dwarf its execution time, such as I/O.