Remind me if I am wrong, but this is a bit wise Operator and it checks in this case if the last bit of x is a 1 which would mean the number isnt even, right?
Even in Python this should be faster than trying to compile a C kernel on the fly and then calling it via subprocess... subprocess alone is probably more expensive than most trivial operations...
7
u/MyChaOS87 Apr 11 '21
What's so hard with (x & 1)