Y
Hacker News
new
|
ask
|
show
|
jobs
by
jcl
6652 days ago
I was under the impression that Python will do constant folding when it compiles to bytecode. In that case, shouldn't "~0" be exactly as fast as "-1" at runtime?