Go to file
Marcus Vinicius de Carvalho ab5914b269 Simple modulo optimization
As we are using a base 2 for our RHS modulo operator, we changed that for a bitwise and operator, which is faster.

In other words, if the RHS of the modulo operator (i.e. LHS % RHS) is a base 2, we can write "LHS & (RHS -1)", which will yield the same results but with a faster processing time.
2021-08-01 12:49:28 +08:00
src Simple modulo optimization 2021-08-01 12:49:28 +08:00
.gitignore Static-link to SDL2 2021-07-24 23:20:46 +08:00
Cargo.toml Rust fmt 2021-07-25 20:11:18 +08:00
LICENSE Initial commit 2021-07-21 11:08:37 +08:00