Blender Git Loki

Git Commits -> Revision 4ab47a7

Revision 4ab47a7 by Campbell Barton (master)
June 12, 2015, 07:13 (GMT)
BLI_linklist, avoid full list search for append

For areas that require append, store the last node,
Previous behavior would too easily hide poorly performing code.

Also avoid (prepend, reverse) where possible.

Commit Details:

Full Hash: 4ab47a767067a88cfc82ae2e2214178b90e0f544
Parent Commit: 5893a34
Lines Changed: +73, -61

8 Modified Paths:

/source/blender/blenkernel/intern/cloth.c (+12, -10) (Diff)
/source/blender/blenlib/BLI_linklist.h (+35, -23) (Diff)
/source/blender/blenlib/intern/BLI_linklist.c (+16, -16) (Diff)
/source/blender/blenlib/intern/storage.c (+3, -5) (Diff)
/source/blender/bmesh/tools/bmesh_region_match.c (+1, -1) (Diff)
/source/blender/collada/collada.cpp (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+4, -4) (Diff)
/source/blender/editors/space_file/filelist.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021