TinyTapeout / vga-playground

Playground for VGA projects on Tiny Tapeout
https://tinytapeout.github.io/vga-playground/
GNU General Public License v3.0
56 stars 8 forks source link

perf: speed up access to "uo_out" while generating image from the sim #11

Closed rejunity closed 2 months ago

rejunity commented 2 months ago

Caching the index of "uo_out" speeds up the "stripes" by almost 40% from 50fps (20ms) to 77fps (13ms). Heavy "Drop" example is 30% faster from 32fps (31ms) to 42fps (24ms).

urish commented 2 months ago

Thanks a million!