89 points · by mmastrac · 8y ago · 3 comments
Optimizing is-multiple checks with modular arithmetic
duriansoftware.com