Optimising RemGlk-rs

This really wasn’t at all intended to prompt you to do that, but if you did decide to I wouldn’t complain!

Yes there are lots of potential size cuts that could be made to RemGlk-rs. Some things you mentioned like Serde may be large, but I think the benefits way outweigh the size cost, the easy and safety is just too good.

RemGlk-rs doesn’t use wasm-bindgen, but maybe Emscripten uses the same metadata section you found?

One other big thing is the unicode data tables. I think they’d be up to several hundred KB, however I think Bocfel doesn’t include them so it wouldn’t help here.

1 Like