Top all-time · #23637
Adrien Guillo
Personal blog · guilload.comprogrammingsystems
Adrien Guillo's personal blog at guilload.com covers programming and systems. Since 2014, 3 different Hacker News readers have linked it 3 times, most often “The internals of Python string interning”. The last post was in 2014, but the archive is still widely read.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Linked in HN threads on CPython internals, covering integer and string interning and object identity for lists and tuples. Commenters cite it as a related source rather than praising the writing.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- The internals of Python string interning3 people · 3 mentions · first linked 2014-07-10
What Hacker News says?
The case of strings is also pretty interesting: http://guilload.com/python-string-interning/
Comment linking /python-string-interning/
on “Weird Python Integers”Submitted The internals of Python string interning as a story · 7 points
HN discussion> Then I guess using the id of the tuples to show that they are using the same object doesn't exactly prove the point Without the `del a`, it does, because they both have active references. If they were unique objects, we'd see a unique ID for `b` as long as a reference to `a` is active. > Strings seem to behave like tuples. When I delete a string and create a new one it creates a new object with a new address.... u…
Comment linking /python-string-interning/
on “Optimization tricks in Python: lists and tuples”