Commit c7c683e
Increase maximum value of the p cmdline parameter
The upper limit of the value of the `-p` cmdline parameter is 32, which
is relatively low. Currently, hashing with logN=20, r=8 and p=32 takes
around 90s on my slow CPU (Intel i3-7020U).
This is in contrast to the `--logN` parameter, which can be set up to 40,
which corresponds to 1TB of RAM. Additionally, the program will
automatically pick high values of `p` when given high values of the
`-t` (maxtime) parameter.
So allow specifying higher values of the `p` parameter in cmdline.
Signed-off-by: Mateusz Jończyk <[email protected]>1 parent e584f2c commit c7c683e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments