Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Square-1 phase 2 to use smaller coordinate tables using clever…
… math. (#102) This reduces initialization from over 5 seconds to about 1. Before: ```shell # 5.5 seconds cargo build --release && time ./target/release/twsearch scramble --amount 1 sq1 # 9.9 seconds cargo build --release && time ./target/release/twsearch scramble --amount 100 sq1 ``` After: ```shell # 0.95 seconds cargo build --release && time ./target/release/twsearch scramble --amount 1 sq1 # 5.7 seconds cargo build --release && time ./target/release/twsearch scramble --amount 100 sq1 ``` We can still gain more — #101 is for that.
- Loading branch information