Blender Git Loki
Git Commits -> Revision 15ff730
Revision 15ff730 by Antonis Ryakiotakis (master) February 5, 2015, 14:06 (GMT) |
Change movie cache to use vectors instead of lists. Runtime costs were horrible. On gooseberry in some sequencer edits using proxies of small size, a cache with about 2000 elements would slow to about 6 fps once cache was full and system tried to find smallest element available. There are still improvements to be done here, like requesting a number of good candidates to avoid rerunnung through the list, or even using some heap or ring buffer scheme to sort data, but nothing suits all needs so for now that should bring the cache back to usable state (25fps here at the studio) |
Commit Details:
Full Hash: 15ff730b9b1d99f7b11a69628d9489546986e145
Parent Commit: f6e7989
Lines Changed: +19, -17
1 Modified Path:
/intern/memutil/MEM_CacheLimiter.h (+19, -17) (Diff)