[HN Gopher] Python behind the scenes #8: how Python integers work
___________________________________________________________________
Python behind the scenes #8: how Python integers work
Author : rbanffy
Score : 40 points
Date : 2021-02-09 20:14 UTC (2 hours ago)
(HTM) web link (tenthousandmeters.com)
(TXT) w3m dump (tenthousandmeters.com)
| cma wrote:
| Micropython does much more efficient tagged integers (making
| unaligned pointers represent the small integers, once out of
| range can be replaced with an aligned pointer to a bigint).
|
| I think the only reason not to have that is maintaining c-python
| compatibility, but it would have been nice if they could have
| moved to it for the 3.0 break.
___________________________________________________________________
(page generated 2021-02-09 23:00 UTC)