Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A "Lite" version for faster client-side loading? #587

Open
canadaduane opened this issue Dec 21, 2024 · 3 comments
Open

A "Lite" version for faster client-side loading? #587

canadaduane opened this issue Dec 21, 2024 · 3 comments

Comments

@canadaduane
Copy link

The WASM js bundle in loro-crdt is nearly 4 MB, which is too large for certain applications, especially mobile apps. Is it possible to create a "Lite" version of the wasm payload, perhaps a restricted subset of capabilities, in order to widen the acceptance parameters for a wider audience / subset of applications? Something under 1 MB seems more reasonable, and of course smaller is better.

(I love what you're doing with this project, thank you!)

@zxch3n
Copy link
Member

zxch3n commented Dec 21, 2024

Thanks! I’d like to have loro-lite as well. Meanwhile, the gzipped WASM is smaller than 1MB.

@vergenzt
Copy link

vergenzt commented Jan 14, 2025

Related to #208 I'm guessing?

@zxch3n
Copy link
Member

zxch3n commented Jan 14, 2025

@vergenzt , it's related. But I think that issue can only reduce a few KB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants