blender/config
Joshua Leung 169a87cb0b 2.5 - Optimisations for Keyframe Drawing in DopeSheet
Keyframes are now prepared for drawing by being added to a binary-tree structure instead of using insertion-sort on a Double-Linked List. This gives rather significant improvements on a few bad cases (*).

I've implemented a basic Red-Black Tree whose nodes/data-structures can also be used as a simple Double-Linked List (ListBase) for this purpose. The implementation of this tree currently does not have support for removing individual nodes, since such capabilities aren't needed yet. 

Stats (using keyframes from an imported .bvh animation file):
* When only the keyframes are drawn (i.e. long keyframes are not identified), the time needed to draw the DopeSheet region 10 times went down from 4000ms to about 300ms.
* When long keyframes are considered as well, the same test has gone from 6000ms to 3000ms. There is still a bottleneck there that I haven't been able to remove yet (an attempt at this made the runtimes go through the roof - 32000 ms for the test done here).

Assorted Notes:
* Added missing headers for some files
* Fixed profiling flags for mingw. There was an extra space which prevented the sound-code from compiling.
2009-07-18 07:11:37 +00:00
..
darwin-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
irix6-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
linux2-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
linuxcross-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
openbsd3-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
sunos5-config.py Spring Cleaning 2009-06-21 16:18:38 +00:00
win32-mingw-config.py 2.5 - Optimisations for Keyframe Drawing in DopeSheet 2009-07-18 07:11:37 +00:00
win32-vc-config.py SCons 2009-07-16 19:41:28 +00:00
win64-vc-config.py * revert reversion by Genscher. This '/MT' business is now handled in Blender.py 2009-07-16 20:00:15 +00:00