Lionel Landwerlin writes:
> Hash maps might use pointer keys (which people surely might want to
> use to hash values) in which case a 0 value is perfectly acceptable.
> It's only if the hash function needs to deference the pointer that we
> want to be sure it's not NULL.
>
> v2: Add assert in _me
On 11/28/2017 08:04 AM, Andres Gomez wrote:
> On Tue, 2017-11-28 at 11:18 +, Lionel Landwerlin wrote:
>> Hash maps might use pointer keys (which people surely might want to
>> use to hash values) in which case a 0 value is perfectly acceptable.
>> It's only if the hash function needs to deferen
On Tue, 2017-11-28 at 11:18 +, Lionel Landwerlin wrote:
> Hash maps might use pointer keys (which people surely might want to
> use to hash values) in which case a 0 value is perfectly acceptable.
> It's only if the hash function needs to deference the pointer that we
dereference -
Hash maps might use pointer keys (which people surely might want to
use to hash values) in which case a 0 value is perfectly acceptable.
It's only if the hash function needs to deference the pointer that we
want to be sure it's not NULL.
v2: Add assert in _mesa_fnv32_1a_accumulate_block (Ian)
Sig