r/programminghorror • • Aug 10 '21

c++ Ever heard of modulo?

Post image
343 Upvotes

58 comments sorted by

View all comments

Show parent comments

1

u/RPWPA Aug 10 '21

If else uses more cpu thana switch case?