compare hash value before call compare_fct()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 17 Oct 2011 14:26:58 +0000 (10:26 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 17 Oct 2011 14:26:58 +0000 (10:26 -0400)
commitae450da3b54fe3c8ea8fc92ec9a9ce2ad8f131cb
treef447ec965ac474e67177b88ce1125dbedfb2170d
parenta4ea2223fa701bd34b09fb3eede037908dbdd0c8
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 <laijs@cn.fujitsu.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rculfhash.c
This page took 0.024843 seconds and 4 git commands to generate.