- Since seed lines comes with strtype, comparinggoodcolumn directly with 0 (inttype) in the if statement was not working at all. This is fixed by castinginttype to the values in thegoodcolumn of seeds text file.
- Lines that starts with comment in the seeds text file are now ignored.
- If statement for checking bad seeds are moved to the top of the parselinefunction as if a seed is bad; there is no point of going forward from there.
Since this bug-fix eliminates bad seeds over 550k in the first place, in my case; particular job for parsing all seeds speed is up by 600% and whole script’s speed is up by %30.
Note that stats in the terminal are not going to include bad seeds after this fix, which would be the same if this bug were never there before.