3 ms·
To illustrate, let's take the following VM code: https://gitlab.com/inko-lang/inko/-/tree/master/vm https://gitlab.com/inko-lang/inko/-/tree/master/vm. This VM
by YorickPeterse 6y ago
To illustrate, let's take the following VM code: https://gitlab.com/inko-lang/inko/-/tree/master/vm https://gitlab.com/inko-lang/inko/-/tree/master/vm. This VM consists of 18 262 lines of code, including VM tests.
An incremental release build where nothing has changed (I just ran `touch src/lib.rs`) takes 25 seconds. Compiling the VM from scratch including all dependencies takes 1 minute and 28 seconds.
That's not too bad, but it could (and in my opinion should be) much better. Debug builds are usually faster to compile, but tend to run too slowly to be useful for anything but debugging some VM bug.