Commit e5e9ad58 authored by Arthur O'Dwyer's avatar Arthur O'Dwyer
Browse files

Remove hashing in HASH_FIND when head is null.

The hashing part in HASH_FIND is not needed when the table does not exist.
This mainly helps reduce the costly calculation of HASH_VALUE for certain cases.

This patch originated in
https://github.com/pmodels/mpich/commit/ca68fa3077

Fixes #171.

Thanks to @huansong for the patch!
parent 8b214aef
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment