测试代码如下: import timeit,time from sys import getsizeof as Size from collections import OrderedDict import random List_Test = list(range(5000)) print(The Size of List is : {}.format(Size(List_Test))) Set_Test = set(range(5000)) print(The Size of Set is : {}.format(Size(Set_Test))) Tuple_Test = tupl