3 ms·
Micropython does a much better job, using pointer alignment guarantees to pack in small integers: https://micropython.org/ https://micropython.org/ Apparently
by cma 9y ago
Micropython does a much better job, using pointer alignment guarantees to pack in small integers:
https://micropython.org/ https://micropython.org/
Apparently it is too hard to move python proper over to that method because of backwards compatibility issues with C extensions.
- zde 9y agoGuido said in some interview they used tagged pointers in some project before Python, and it didn't work well. Apparently there is some benefit in "value is always a reference" (less code paths?) that outweights somewhat larger heap pressure.