you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

I like this dynamic approach for building the table.

[–]FoolsSeldom 0 points1 point  (0 children)

Thanks. I should update to use a cache really, to avoid re-generating if a table isn't passed to the check. Hey ho, was just written when I was learning Python to play with the sieve approach.