vydd / sketch

A Common Lisp framework for the creation of electronic art, visual design, game prototyping, game making, computer graphics, exploration of human-computer interaction, and more.
MIT License
1.4k stars 67 forks source link

Tons of lines and garbage collector #14

Closed honix closed 7 years ago

honix commented 8 years ago

When there is many dynamic lines: https://gist.github.com/honix/e94f42eb24e62a2ade8cbb45ab8b9df1

Sketch becomes little laggy because of GC hard work. So, for now i down *shape-cache-capacity* to zero and have smooth animation. I think it needs to rethink caches somehow..

vydd commented 8 years ago

Thanks for reporting this, you are right. I'm working on a much better solution (keeping everything in gfx memory with better defaults). I'm hoping to have it completed before the next QL release.

vydd commented 7 years ago

Fixed in April release (removed caching). Will try doing this again - but in a smarter way - once CEPL backend is ready.