mbrock / wisp

Lisp in WebAssembly
https://wisp.town
GNU Affero General Public License v3.0
238 stars 6 forks source link

Faster tests through heap images #17

Closed mbrock closed 2 years ago

mbrock commented 2 years ago

We should be able to generate a basic stdlib image via build.zig before running the test suite, so each test can load the image instead of loading the whole stdlib.

mbrock commented 2 years ago

Got quite far with this today but I implemented loading with readv calls on file input streams, which won't work for embedded constant data in the executable, and that's really the more important use case, so I should just read the data from a slice reader instead.