gallium: Simple and efficient cache.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 19 Dec 2008 20:06:11 +0000 (20:06 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 19 Dec 2008 20:06:11 +0000 (20:06 +0000)
commitb901e1f212c11afda05f2628a522d86802f87c52
tree0661364dba7b668f8237472d3e1bf0fdb40f7e9d
parent030a7a320cb2c49ff60f3948bd9c4976ca0b0b17
gallium: Simple and efficient cache.

Fixed size hash table. Collisions are handled by simply destroying the
previous entry.

It hasn't received much testing yet.
src/gallium/auxiliary/util/Makefile
src/gallium/auxiliary/util/SConscript
src/gallium/auxiliary/util/u_cache.c [new file with mode: 0644]
src/gallium/auxiliary/util/u_cache.h [new file with mode: 0644]
src/gallium/auxiliary/util/u_hash.c [new file with mode: 0644]
src/gallium/auxiliary/util/u_hash.h [new file with mode: 0644]