Blender Git Loki

Git Commits -> Revision 7c9b106

Revision 7c9b106 by Campbell Barton (master)
February 1, 2014, 15:24 (GMT)
Smallhash: optimizations

- remove static array used only for copying (use alloca on resize)
- set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used.
- ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on.

Commit Details:

Full Hash: 7c9b1065895e0a6a12555075980d7a77d1dea8c7
Parent Commit: a1a0ebb
Lines Changed: +17, -14

2 Modified Paths:

/source/blender/blenlib/BLI_smallhash.h (+6, -7) (Diff)
/source/blender/blenlib/intern/smallhash.c (+11, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021