Conversation
| "education", | ||
| "linguistics", | ||
| ] | ||
| compiler = "0.14.2" |
There was a problem hiding this comment.
Unless you depend on a fix introduced in 0.14.2, this should be lower: as low as the oldest compiler version you support (so probably even less than 0.14.0).
There was a problem hiding this comment.
That's right. I've changed it.
There was a problem hiding this comment.
Have you considered possibilities to compact that file? In particular, since it mostly data which may contain repetitive patterns, do you think compressing it using some well-known format and decompressing it in memory could result in a net positive in terms of file size? Also, have you looked into wasm-opt?
There was a problem hiding this comment.
Now it's 1.5MB. Hope it's acceptable.
The WASM file can be generated from the build script in my Rust crate rust-canto
|
Thank you for taking time to improve the WASM file size, 1.5MiB is much better. :) And thank you for contributing this package! |
I am submitting
Description: A Cantonese version of
auto-pinyinwith word segmentation.For a live demo, you may view my YouTube video: https://youtu.be/ivUu91eDfvY, and also the release notes of the most recent version
This is a continuation of #4242, and it depends on #4253.
I have read and followed the submission guidelines and, in particular, I
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE