pixelate-it / pixelbattle-backend

API of the Pixel Battle project
GNU General Public License v3.0
13 stars 1 forks source link

optimize cache performance #43

Closed mirdukkkkk closed 9 months ago

mirdukkkkk commented 9 months ago

store pixels in the cache in the Uint8Array (RGB) format so that there is no need to convert pixels to this format when sending the canvas (/pixels.png - converting pixels)

i think performance will increase