You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in nansencenter/django-geo-spaas-harvesting#40 Python lists are only needed when we want to save the order of elements inside it. When we don't need order, there is no need to use a python list!!!!
Sets should be used for the case that we add another element in it afterwards.
tuple should be used for the case that we do not need to change it afterwards.
For the speed of running the code the order of selection data types is as follows:
1.tuple
2.set
3.list
The text was updated successfully, but these errors were encountered:
@aperrin66
@akorosov
As mentioned in nansencenter/django-geo-spaas-harvesting#40 Python lists are only needed when we want to save the order of elements inside it. When we don't need order, there is no need to use a python list!!!!
Sets should be used for the case that we add another element in it afterwards.
tuple should be used for the case that we do not need to change it afterwards.
For the speed of running the code the order of selection data types is as follows:
1.tuple
2.set
3.list
The text was updated successfully, but these errors were encountered: