├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE-Apache-2.0.txt ├── LICENSE-MIT.txt ├── LICENSE-Zlib.txt ├── README.md └── src └── bin ├── comparison_clever.rs ├── comparison_iterator.rs ├── comparison_naive.rs ├── comparison_realistic.rs ├── comparison_split.rs ├── comparison_split_inline.rs ├── fibvec_clever_indexing.rs ├── fibvec_clever_indexing_alt.rs ├── fibvec_iterator.rs ├── fibvec_naive_indexing.rs ├── nth_branchless.rs ├── nth_errorless_heap.rs ├── nth_errorless_stack.rs └── nth_naive.rs /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-Apache-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/LICENSE-Apache-2.0.txt -------------------------------------------------------------------------------- /LICENSE-MIT.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/LICENSE-MIT.txt -------------------------------------------------------------------------------- /LICENSE-Zlib.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/LICENSE-Zlib.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/README.md -------------------------------------------------------------------------------- /src/bin/comparison_clever.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_clever.rs -------------------------------------------------------------------------------- /src/bin/comparison_iterator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_iterator.rs -------------------------------------------------------------------------------- /src/bin/comparison_naive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_naive.rs -------------------------------------------------------------------------------- /src/bin/comparison_realistic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_realistic.rs -------------------------------------------------------------------------------- /src/bin/comparison_split.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_split.rs -------------------------------------------------------------------------------- /src/bin/comparison_split_inline.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/comparison_split_inline.rs -------------------------------------------------------------------------------- /src/bin/fibvec_clever_indexing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/fibvec_clever_indexing.rs -------------------------------------------------------------------------------- /src/bin/fibvec_clever_indexing_alt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/fibvec_clever_indexing_alt.rs -------------------------------------------------------------------------------- /src/bin/fibvec_iterator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/fibvec_iterator.rs -------------------------------------------------------------------------------- /src/bin/fibvec_naive_indexing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/fibvec_naive_indexing.rs -------------------------------------------------------------------------------- /src/bin/nth_branchless.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/nth_branchless.rs -------------------------------------------------------------------------------- /src/bin/nth_errorless_heap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/nth_errorless_heap.rs -------------------------------------------------------------------------------- /src/bin/nth_errorless_stack.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/nth_errorless_stack.rs -------------------------------------------------------------------------------- /src/bin/nth_naive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Shnatsel/bounds-check-cookbook/HEAD/src/bin/nth_naive.rs --------------------------------------------------------------------------------