
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1285966262-73388-1-git-send-email-andreas.devel@googlemail.com you wrote:
This patch adds a new config parameter for adjusting the calculation of hash table size when importing a buffer.
When importing a extremely small buffer (e.g. the default_environment) the old calculation generated a hash table which could hold at most the buffer content but no more entires.
The new calculation add a fixed number of entries to the result to fit better for small import buffers. This amount may be configured by the user in board file to adjust the behaviour.
Signed-off-by: Andreas Bießmann andreas.devel@googlemail.com
v2: implement as suggested by Wolfgang
lib/hashtable.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk