From e4a52c7568e693ea36d08d44321649c95ada15b8 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Tue, 8 Jan 2019 02:23:50 -0500 Subject: [PATCH] corrects +muk jet comment --- jets/c/muk.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jets/c/muk.c b/jets/c/muk.c index 6d7d47571..44d63ca85 100644 --- a/jets/c/muk.c +++ b/jets/c/muk.c @@ -32,10 +32,13 @@ 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); - // XX we could skip the copy and use _mur_words() instead - // MurmurHash3_x86_32(key_y, len_w, seed_w, &out_w); u3a_free(key_y);