|
|
|
|
|
by chrisseaton
1361 days ago
|
|
> No such thing as a constant in Python. You can optionally name a variable in uppercase to signal to others that it should be, but that's about it. Yeah that’s the point - the JIT takes that capitalisation as a hint to treat it as a true constant and bake the value in until it’s redefined. This is all solved stuff and isn’t a barrier to implementing a powerful JIT for Python if someone wanted to. |
|