From 0d9fd40a7fca434a5e7bff49666cdfb99272b432 Mon Sep 17 00:00:00 2001 From: Juan Benet Date: Sun, 14 Aug 2016 00:35:30 -0400 Subject: [PATCH] reword skipping explanation. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a5ba1c5..15696cf 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,6 @@ They disagree. :( ## Disclaimers -Warning: **obviously multihash values bias the first two bytes**. Do not expect them to be uniformly distributed. The entropy size is `len(multihash) - 2`. Skip the first two bytes when using them with bloom filters, etc. Why not _ap_pend instead of _pre_pend? Because when reading a stream of hashes, you can know the length of the hash (from the table). +Warning: **obviously multihash values bias the first two bytes**. Do not expect them to be uniformly distributed. The entropy size is `len(multihash) - 2`. Skip the first two bytes when using them with bloom filters, etc. Why not _ap_pend instead of _pre_pend? Because when reading a stream of hashes, you can know the length of the whole value, and allocate the right amount of memory, skip it, or discard it. License: MIT