|
From: | Ognyan Kulev |
Subject: | Re: [PATCH] Possible problems when MCHECK is defined |
Date: | Tue, 26 Mar 2002 14:01:05 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.9) Gecko/20020311 |
James Morrison wrote:
+#define NBUCKETS (31 - LOG2_MIN_SIZE + 1)Why are you using 31 + 1 instead of just 32?
NBUCKETS must contain the number of elements between LOG2_MIN_SIZE and 31 inclusively. This calculation is more logical. -- Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""
[Prev in Thread] | Current Thread | [Next in Thread] |