From 6e3725457d25808e3ebc7dadf70b70ff735b99ce Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 14 Mar 2019 00:13:13 +0300 Subject: [PATCH] mdbx: fix minor comment typo. Change-Id: I56a465e820a49d13c49fb3bd05add970b0eebb14 --- src/mdbx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdbx.c b/src/mdbx.c index 580bec16..dba90801 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -13254,7 +13254,7 @@ __hot static int cursor_diff(const MDBX_cursor *const __restrict x, __hot static ptrdiff_t estimate(const MDBX_db *db, struct diff_result *const __restrict dr) { - /* root: branch-page => scale = leaf-factor * branch-factor(N-1) + /* root: branch-page => scale = leaf-factor * branch-factor^(N-1) * level-1: branch-page(s) => scale = leaf-factor * branch-factor^2 * level-2: branch-page(s) => scale = leaf-factor * branch-factor * level-N: branch-page(s) => scale = leaf-factor