rgreen312 / OwlPlace

https://rgreen312.github.io/OwlPlace/
5 stars 1 forks source link

In-memory image modification #14

Closed aidan-curtis closed 5 years ago

aidan-curtis commented 5 years ago

We don't want to compile the image from KV pairs for every getImage request, so we need to have a working copy of the image in memory that can be modified through key-value put operations.

1.) Set up struct for in-memory byte array modification 2.) Compile the in-memory byte array from the key-value pairs 3.) Recompile the in-memory image in the Sync method 4.) Return the image when requested from the API server