Blender Git Commit Log

Git Commits -> Revision ccf44c4

Revision ccf44c4 by Campbell Barton (master)
April 11, 2015, 13:36 (GMT)
BMesh: simplify hashing for dyntopo

Was using pointer hashing when the keys are in fact uint's.
Since they're well distributed from the rangetree,
no need to do bit-shifting tricks. just use int as hash.
Gives ~8% speedup in own tests.

Commit Details:

Full Hash: ccf44c400c896761c87836a06be24216c366c87b
Parent Commit: 7447a01
Lines Changed: +16, -6

3 Modified Paths:

/source/blender/blenlib/BLI_ghash.h (+1, -0) (Diff)
/source/blender/blenlib/intern/BLI_ghash.c (+5, -0) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+10, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021