Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望frozenset' 的性能比set' 好,因为前者是不可变的。但是,当我查看它时,答案只是说 set 和frozenset's 只是包含许多相同的实现。是什么让tuple's 的表现比list's 更好,而frozenset's 就 's 无法效仿set?
frozenset
set
tuple
list