+ 3

In Python is a tuple fastest for read only data

For read only data is a tuple faster than a list or a dictionary

14th Apr 2019, 2:43 AM
Sanjay Kamath
Sanjay Kamath - avatar
2 Respostas
0
For read only purposes, an immutable sequence like the tuple is faster than a mutable sequence like lists or dictionaries.
20th Apr 2019, 9:53 AM
Bela Brockmann
Bela Brockmann - avatar
+ 2
😊
20th Apr 2019, 10:04 AM
Sanjay Kamath
Sanjay Kamath - avatar