2 Dec 2020 2 Dec '20
On Wed, 2 Dec 2020 at 09:27, Chris Angelico firstname.lastname@example.org wrote:
But you can make your own private research project without asking anyone else for information. Why try to synchronize with anyone else? Why not just make your own thing and find out what constness can do for Python?
I agree. I think it will be very interesting some macro-benchmarks (read: pyperformance) before proposing this big change.
Anyway, personally I think a "const" can be useful for developers to avoid changing or rebinding the object by mistake, not primarily for speeding up things.