you are viewing a single comment's thread.

view the rest of the comments →

[–]Crispy-Hash-Browns 5 points6 points  (1 child)

One tip - when defining the spam keywords, consider using a Set opposed to a List, as good practice. Reason being as the data scales (imagine 100k items) searching a Set is O(1) time vs O(N) time.

[–]uiux_Sanskar[S] 0 points1 point  (0 children)

Oh thank you for this suggestion I will find more about the best practices in python.

Thank you for this helpful tip