15 points | by zggf 2 days ago ago
2 comments
All pretty well-known stuff, I thought.
> More interesting is int. At the time of writing this post, the current implementation of CPython pre-allocates integers from -5 to 256.
The upper bound will increase to 1024 in CPython 3.15 IIRC.
[flagged]
All pretty well-known stuff, I thought.
> More interesting is int. At the time of writing this post, the current implementation of CPython pre-allocates integers from -5 to 256.
The upper bound will increase to 1024 in CPython 3.15 IIRC.
[flagged]