Skip to content

Commit

Permalink
Merge branch 'main' of github.com:peterkrull/algo-vanity-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkrull committed Jun 17, 2023
2 parents 883e687 + 360ea0f commit af5115a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ algo-vanity-rs vanity_list.json
By default the tool will run indefinitely until interrupted by the user (Ctrl-C), automatically detect the number of available threads and only look for patterns in the beginning of the address. All of this can be configured, and is explained further in the `-h` prompt.

### How fast?
Thanks to a random number generator (rng) hack, we can get away with generating significantly fewer random seeds. Instead of generating 32 bytes each iteration, we can generate just 32 once per 10000, iterations, and simply perturb a few of the seed indenes. This hack alone doubles the number of addresses/second on my machine, allowing me to reach 215k addresses/second on a 10+ year old i5-3570k. I think that is impressive. The Rust language is also to thank for this speed, due to its easy multi-threading workflow.
Thanks to a random number generator (rng) hack, we can get away with generating significantly fewer random seeds. Instead of generating 32 bytes each iteration, we can generate just 32+2 bytes *once* per 10000 iterations, and simply perturb a few of the seed indices. This hack alone doubles the number of addresses/second on my machine, allowing me to reach 215k addresses/second on a 10+ year old i5-3570k. I think that is impressive. The Rust language is also to thank for this speed, and for its easy multi-threading workflow.

## Build from source

Expand Down

0 comments on commit af5115a

Please sign in to comment.