Python Forum
Which is Faster, List or SQL
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which is Faster, List or SQL
#1
I have a list of over 150,000 urls.
each time the code runs it selects the next url in the list and then generates a few urls from it.

It then has to compare these generated urls to every oth url in the list to make sure they are not the same.

Simply put which would be faster, a list in python. or using an sql database, or is there an alternative which is much faster.


There may be a few million item in the list eventually and it will keep growing every time the code runs.
Reply


Messages In This Thread
Which is Faster, List or SQL - by AceScottie - Mar-16-2017, 06:29 PM
RE: Which is Faster, List or SQL - by micseydel - Mar-16-2017, 06:33 PM
RE: Which is Faster, List or SQL - by AceScottie - Mar-16-2017, 06:45 PM
RE: Which is Faster, List or SQL - by Larz60+ - Mar-16-2017, 06:41 PM
RE: Which is Faster, List or SQL - by micseydel - Mar-16-2017, 07:09 PM
RE: Which is Faster, List or SQL - by wavic - Mar-16-2017, 07:23 PM
RE: Which is Faster, List or SQL - by micseydel - Mar-16-2017, 07:44 PM
RE: Which is Faster, List or SQL - by zivoni - Mar-16-2017, 09:13 PM
RE: Which is Faster, List or SQL - by nilamo - Mar-16-2017, 09:26 PM
RE: Which is Faster, List or SQL - by AceScottie - Mar-16-2017, 10:15 PM
RE: Which is Faster, List or SQL - by wavic - Mar-16-2017, 10:23 PM
RE: Which is Faster, List or SQL - by Larz60+ - Mar-17-2017, 02:31 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020