abraham-ai / collage

0 stars 0 forks source link

very poor memory optimization #2

Closed genekogan closed 1 year ago

genekogan commented 2 years ago

canvas is held in browser memory so if you make it big (just by having two corner images spread out, and the rest between them blank) the page gets very slow and buggy.

need to add some kind of backend optimization, tiling, key-value store (redis), and/or use disk.

genekogan commented 1 year ago

performance was mostly fixed by optimizing how background was drawn (that was actually most of it).

this can still be better, but probably a later priority.