|
|
|
|
|
by dietr1ch
527 days ago
|
|
I feel that the compiler is doing too much work here. I know they are thinking about special cases on generated code, but at some point it feels that it just adds compile time for no good reason. Look at this --beauty-- eww, thing, should compilers really spend time trying to figure out how to optimise insane code? def is_even(n):
return str(n)[len(str(n))-1] in [str(2*n) for n in range(5)]
|
|