Does Python's runtime really cache tuples of size 1-20?

前端 未结 0 1745
一生所求
一生所求 2021-01-19 01:49

I\'m reading High Performance Python by Micha Gorelick. In chapter 3 on tuples vs lists he claims that tuples of size 1-20 are cached by the Python runtime. I did n

相关标签:
回答
  • 消灭零回复
提交回复
热议问题