venus icon indicating copy to clipboard operation
venus copied to clipboard

Add memory alignment tests and refactor to store words instead of bytes

Open noloerino opened this issue 4 years ago • 0 comments

(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.

noloerino avatar Apr 08 '20 06:04 noloerino