Python Sets vs Lists
Asked 07 September, 2021
Viewed 1.9K times
  • 57
Votes

In Python, which data structure is more efficient/speedy? Assuming that order is not important to me and I would be checking for duplicates anyway, is a Python set slower than a Python list?

10 Answer