Andrew Kelley
|
ef0f3ba905
|
relax std.auto_hash requirements regarding vectors
Previously, auto hash tests required vectors of different types to not
hash to the same value. Now, this is allowed.
|
2019-09-18 16:34:36 -04:00 |
|
Andrew Kelley
|
e8a9caa3dd
|
add suggestion to AutoHash compile error message
|
2019-08-28 14:38:55 -04:00 |
|
Sahnvour
|
1498ccac2a
|
auto_hash: better generic hashing implementation
autoHash forbids slices as input
hash was added to handle all types from autoHash plus slices, with a specified strategy
|
2019-08-24 15:30:23 +02:00 |
|
Andrew Kelley
|
b7c94be688
|
Merge remote-tracking branch 'origin/master' into rewrite-coroutines
|
2019-08-04 19:10:36 -04:00 |
|
Sahnvour
|
54255ee32e
|
autohash: force inlining of integer hashing so that the optimizer can see the fast path based on key's size which is known at comptime
otherwise it will always outline the call to hasher.update, resulting in much worse performance
|
2019-08-04 12:34:37 +02:00 |
|
Sahnvour
|
4b5172d287
|
move autoHash into its own module since it can be used with any hash function implementing a streaming interface
|
2019-08-04 12:34:37 +02:00 |
|