Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Feb 4, 2024
1 parent cc29223 commit ee7f0f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ These are randomized hash functions, meaning that each time you create a new has
get new hash values for a given input.

## Code sample
```cpp

const uint n(3);//hash all sequences of 3 characters
const uint L(7); // you need 7 bits
Expand All @@ -34,7 +35,7 @@ get new hash values for a given input.
hf.update(out,c); // update hash value
}
hf.reset(); // you can now hash a new string

```
## Requirements
Expand Down

0 comments on commit ee7f0f1

Please sign in to comment.