Jan-28-2018, 04:04 AM
(Jan-28-2018, 03:43 AM)Miraclefruit Wrote: How does that take the intersection into consideration?What code dos do not matter at all for what i show,the point was to show an easy way to run timeit.
Tuple are faster than list,and boost number executions to 100000000
import timeit tuple_test = '''\ t = (1,2,3,4,5,6,7,8,9,10) ''' list_test = '''\ t = [1,2,3,4,5,6,7,8,9,10] ''' print(timeit.Timer(stmt=tuple_test).timeit(number=100000000))