mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-27 00:44:27 +03:00
corrects +muk jet comment
This commit is contained in:
parent
91dce35acb
commit
e4a52c7568
@ -32,10 +32,13 @@
|
|||||||
key_y = u3a_calloc(sizeof(c3_y), len_w);
|
key_y = u3a_calloc(sizeof(c3_y), len_w);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Efficiency: unnecessary copy.
|
||||||
|
//
|
||||||
|
// We could calculate the hash directly against
|
||||||
|
// the atom internals, a la u3r_mug
|
||||||
|
//
|
||||||
u3r_bytes(0, len_w, key_y, key);
|
u3r_bytes(0, len_w, key_y, key);
|
||||||
|
|
||||||
// XX we could skip the copy and use _mur_words() instead
|
|
||||||
//
|
|
||||||
MurmurHash3_x86_32(key_y, len_w, seed_w, &out_w);
|
MurmurHash3_x86_32(key_y, len_w, seed_w, &out_w);
|
||||||
|
|
||||||
u3a_free(key_y);
|
u3a_free(key_y);
|
||||||
|
Loading…
Reference in New Issue
Block a user