Blender Git Loki
Git Commits -> Revision b65d36b
Revision b65d36b by Bastien Montagne (temp-ghash-experiments) February 21, 2015, 17:24 (GMT) |
GHash: Add hash to entries. This gives a nice speedup during buckets resizing, but also in mere lookups, especially when key comparison function is not as cheap as a mere equality (integer vectors, strings...). It also increases about 15% the entries' memory footprint (30% on 64bits, due to padding), but think it's really worth it. |
Commit Details:
Full Hash: b65d36b42df015bda1c4d3dfd5139e9b5b37480b
Parent Commit: f369b13
Lines Changed: +78, -52
1 Modified Path:
/source/blender/blenlib/intern/BLI_ghash.c (+78, -52) (Diff)