venus
venus copied to clipboard
Add memory alignment tests and refactor to store words instead of bytes
(not sure what the procedure for merging in changes is; this affects the backend but I changed one file in the frontend and I haven't tried building on the js branch)
I saw a TODO in the backend repository about storing words instead of bytes of memory, which I went ahead and implemented. I also did some refactoring on memory tests, the Memory
module now accepts a parameter that determines whether unaligned accesses are allowed (it defaults to true, since that seemed to be the default behavior previously).
I also made a few small refactors in the files I touched to be slightly more idiomatic.