Blender Git Loki

Git Commits -> Revision 83fe139

Revision 83fe139 by Campbell Barton (master)
July 8, 2016, 05:54 (GMT)
Undo: use system memcmp

`my_memcmp` didn't work properly comparing memory sizes not aligned to 4 bytes,
this worked while we used guarded-alloc (which always wrote a guard at the end of each allocation).
Since moving to lockfree allocator it could read uninitialized memory.

It also consistently performed ~10-30% worse then glibc's.
This is typically well optimized, no need to do ourselves.

Commit Details:

Full Hash: 83fe139b2b9c37db50c14833cb38877b999db6de
Parent Commit: dda96e3
Lines Changed: +1, -15

1 Modified Path:

/source/blender/blenloader/intern/undofile.c (+1, -15) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021