Since in these days there’s a major effort to make CPython faster, I think this is of some interest.
I’m sure the introduction of a const keyword, also with other names, has been raised many times. And I’m sure it was every time discarded.
My question is: why not a const keyword? Too much difficult to implement in actual ecosystem? Too low speed gain? Anything else?
1 Like
bschubert
(Brian Schubert)
2
Some previous related discussions: