zjshi / gt-pro

MIT License
23 stars 7 forks source link

parameterize integers types based on L and M #10

Closed boris-dimitrov closed 5 years ago

boris-dimitrov commented 5 years ago

this eliminates hard coded masks and array lengths, and adds asserts to completely remove any possibility of integer overflow

boris-dimitrov commented 5 years ago

As usual, tested by confirming results did not change by this refactor.

Performance of loading DB improved by 5 seconds through pulling out of the loop the MMER_PRESENT init.