Update README.md

added additional information for those who do not know how to use cargo or rust
This commit is contained in:
deepCurse 2024-08-15 21:13:17 +00:00 committed by deepCurse
parent d73ce30692
commit 44a021f0b0
Signed by: u1
GPG key ID: 0EA7B9E85212693C

View file

@ -9,6 +9,28 @@ This repo is a short and sweet response to Austins most recent video 'The Scienc
[`cargo`](https://github.com/rust-lang/cargo) to compile the program
# Building
`cargo build --release`
# Features
You can disable default features to switch to less performant code like so
`cargo build --release --no-default-features`
however this will require you provide a seed to seed the manual random implementation
`cargo build --release --no-default-features -- 789124`
to enable specific features just use the -F flag like so
`cargo build --release --no-default-features -F auto_thread_count -- 789124`
or
`cargo build --release --no-default-features -F auto_thread_count,rust_random`
# Timings
### 1 billion