Did some optimising, getting my pixel art program to run faster and have a smaller memory footprint. Right now it is ~45MB on startup. I got it down from 100MB. Not sure if 45MB is acceptable - its using SDL2, Dear IMGUI & C runtime. Would like it to be as small as possible.

Before it would lag when opening a big canvas (2048x2048 pixels), but now it doesn't. Also would lag when you tried draw on and open big photos which doesn't now aswell. 😄