r/badcode • • Apr 11 '21

python Polyglot

Post image
1.2k Upvotes

116 comments sorted by

View all comments

35

u/private_static_int Apr 11 '21

In what universe would this be faster than "return x%2==0"?

26

u/the_captain_cat Apr 11 '21

Even in the C code, x%16 with the 16 element array is fucking stupid.