Snap!6 is here, and it's all about scale

Congrats all around! Six is speedy, quite noticeable.

Since this has gotten some attention among fellow hackers some questions about how exactly we improved Snap!'s performance has come up. Basically it's a departure from pre-rendering and caching all the graphics to redrawing them just in time that did the trick. We were delighted to find out that rerendering complex graphical shapes in modern browsers can be done faster and with less memory penalty than pre-rendering and caching.

Here's part of a presentation I drew up earlier this year with a few slides outlining the architectural changes:

Morphic2 Architecture.pdf (2.9 MB)

2 Likes

I understand modern browsers are faster, but can't quite understand how come caching (pre-rendered) images demanded less memory in older browsers in comparison to modern ones.

No, it works the other way: Caching makes things faster at the cost of using more memory. That's why (largely) abandoning caching reduced Snap's memory footprint. The pleasant surprise was that graphics processing has become so much faster since when we first started Snap, so we not only reduced memory usage but also increased performance.

...you should install sc 1.4