hashes: implement murmur3 (#12022)
* hashes: implement murmur3 * refactoring; there is only one murmurHash and it works at compile-time via VM hooks * fixes JS tests * makes toOpenArrayByte work with C++ * make it bootstrap in C++ mode for 0.20
This commit is contained in:
parent
35268c500f
commit
ab48d7901e
7 changed files with 204 additions and 59 deletions
|
|
@ -1,11 +1,12 @@
|
|||
discard """
|
||||
output: '''ob @[]
|
||||
ob3 @[]
|
||||
ob2 @[]
|
||||
3
|
||||
output: '''ob2 @[]
|
||||
ob @[]
|
||||
ob3 @[]
|
||||
ob2 @[]'''
|
||||
3
|
||||
ob2 @[]
|
||||
ob @[]
|
||||
ob3 @[]
|
||||
'''
|
||||
cmd: "nim c -r --threads:on $file"
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue