Re: [Mesa-dev] [PATCH] mesa: use pre_hashed version of search for the mesa hash table

2017-04-10 Thread Eric Anholt
Timothy Arceri writes: > The key is just an unsigned int so there is never any real hashing > done. > --- > src/mesa/main/hash.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c > index 670438a..eb25d88 100644 > --- a/src

[Mesa-dev] [PATCH] mesa: use pre_hashed version of search for the mesa hash table

2017-04-10 Thread Timothy Arceri
The key is just an unsigned int so there is never any real hashing done. --- src/mesa/main/hash.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index 670438a..eb25d88 100644 --- a/src/mesa/main/hash.c +++ b/src/mesa/main/hash