diff options
Diffstat (limited to 'c/enc/hash_longest_match_quickly_inc.h')
-rw-r--r-- | c/enc/hash_longest_match_quickly_inc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/enc/hash_longest_match_quickly_inc.h b/c/enc/hash_longest_match_quickly_inc.h index 54397ef..1f36022 100644 --- a/c/enc/hash_longest_match_quickly_inc.h +++ b/c/enc/hash_longest_match_quickly_inc.h @@ -155,6 +155,7 @@ static BROTLI_INLINE void FN(FindLongestMatch)( uint32_t* BROTLI_RESTRICT buckets = self->buckets_; const size_t best_len_in = out->len; const size_t cur_ix_masked = cur_ix & ring_buffer_mask; + /* TODO: compare 4 bytes at once (and set the minimum best len to 4) */ int compare_char = data[cur_ix_masked + best_len_in]; size_t key = FN(HashBytes)(&data[cur_ix_masked]); size_t key_out; |