From af6e9af26e0f547b41fc85f1cce07040cb3dbc87 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 14 Dec 2025 19:35:57 +0100 Subject: Update comments --- src/solvers/h48/gendata_h48.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/solvers/h48/gendata_h48.h') diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h index 68111c8..890aad8 100644 --- a/src/solvers/h48/gendata_h48.h +++ b/src/solvers/h48/gendata_h48.h @@ -172,10 +172,9 @@ gendata_h48_maintable(gendata_h48_arg_t arg[static 1]) * [2] = 462294676 * [3] = 14900555 * - * I ended up picking base 8 to have a much lower count of elements - * with value 0, at the cost of a less precise estimate for the higher - * values. But I am not 100% confident this is the optimal choice, - * so I'll leave it here for future considerations. + * Experimentally, the table with base 8 is much faster. Intuitively, + * this is because it has a much lower count of elements with value 0, + * at the cost of a less precise estimate for the higher values. */ static const uint8_t base[] = { -- cgit v1.3