blender/intern/guardedalloc
Joseph Eagar 7ad7820f7f Added a new notifyer, NC_SPACE_CHANGED, to signal an editor that
replaces another so it can do updates (e.g. dopesheet editor can
sync channel selection).

Also coded a simple optimization for allocating small objects,
based on mempools.  It's #ifdef'd out, you can enabled it by 
defining OPTIMIZE_SMALL_BLOCKS (e.g. adding -DDOPTIMIZE_SMALL_BLOCKS to
your compiler flags).

We suffer from a great deal of performance loss from the system allocator
(vgroups, ghash, edgehash, the singly-linked list implementation in blenlib,
editmesh, and likely a great many areas I'm forgetting), and this is the 
common solution for handling the many-small-objects problem.  It's not
really production-ready yet (it's long-term memory consequencers need to
be profiled first, and the implementation tweaked as necassary), but for
people on systems with slow system allocators it's worth trying.

Note that since this creates a guardedalloc<->blenlib link, the build systems
need to be updated accordingly (I've already done this for scons, though I'm
not sure if the player builds).
2010-01-21 03:08:57 +00:00
..
cpp SVN maintenance. 2009-08-18 20:24:40 +00:00
intern Added a new notifyer, NC_SPACE_CHANGED, to signal an editor that 2010-01-21 03:08:57 +00:00
make Merge of itasc branch. Project files, scons and cmake should be working. Makefile updated but not tested. Comes with Eigen2 2.0.6 C++ matrix library. 2009-09-24 21:22:24 +00:00
test Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
BLO_sys_types.h some fixes for netbsd with cmake 2009-08-14 13:13:36 +00:00
CMakeLists.txt white space commit. (2 spaces -> tab). 2009-09-06 01:51:23 +00:00
Makefile Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
MEM_guardedalloc.h Debug tools: new function MEM_testN(void*) 2009-11-11 03:45:26 +00:00
mmap_win.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
SConscript == SCons == 2009-09-05 01:58:02 +00:00