Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
octopope
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
octopope
8y ago
Ahh.. interesting. Then I guess using the id of the tuples to show that they are using the same object doesn't exactly prove the point. To your original point (that tuples reallocate based on length) I see that if I delete a tuple of l
2.
▲
by
octopope
8y ago
The free list for lists seems to reuse more than just empty lists as you suggest. > a = ['non','empty','list'] > id(a) 4363176072 > del a > b = ['new', 'list'] >