I rewrote Porffor's object implementation completely; it is now much faster and makes Wasm binaries 2-5x smaller than before when using objects!
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
https://goose.icu/porffor-objects-v2/
Porffor's current worst benchmark gets 30% faster with >4x smaller Wasm; almost on par with QuickJS with only ~1 month of work!
https://goose.icu/porffor-objects-v2/
Comments
Do class fields get slots instead of map lookups?
Classes being a lot faster than plain objects would be interesting. I already use them a lot, but that'd be more pressure to.