From 89ab5f2b210afcce5fdf0b5ef5e9c327497d5be5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 1 Apr 2025 17:48:08 -0600 Subject: [PATCH] [cache] Comments --- src/hb-cache.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-cache.hh b/src/hb-cache.hh index de9853d36..f9d1aa08b 100644 --- a/src/hb-cache.hh +++ b/src/hb-cache.hh @@ -48,10 +48,10 @@ * of the integer. * * A cache hit is detected by comparing the low bits of the key - * with the high bits of the integer at the right position in the - * array. If they match, the value is extracted from the least - * significant bits of the integer and returned. Otherwise, a - * cache miss is detected. + * with the high bits of the integer at the array position indexed + * by the high bits of the key. If they match, the value is extracted + * from the least significant bits of the integer and returned. + * Otherwise, a cache miss is reported. * * Cache operations (storage and retrieval) involve just a few * arithmetic operations and a single memory access.