From: Lai Jiangshan Date: Mon, 17 Oct 2011 14:26:58 +0000 (-0400) Subject: compare hash value before call compare_fct() X-Git-Tag: v0.7.0~43^2~89 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=ae450da3b54fe3c8ea8fc92ec9a9ce2ad8f131cb;hp=ae450da3b54fe3c8ea8fc92ec9a9ce2ad8f131cb;p=urcu.git compare hash value before call compare_fct() [ Edit by Mathieu Desnoyers: This is an optimisation that checks if the reverse hash value is equal before calling the comparison function. Given comparing a reverse hash is much faster than comparison, this accelarates the lookups and add. ] Signed-off-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers ---