loro icon indicating copy to clipboard operation
loro copied to clipboard

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

Open canadaduane opened this issue 1 year ago • 3 comments

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!)

canadaduane avatar Dec 21 '24 03:12 canadaduane

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

zxch3n avatar Dec 21 '24 10:12 zxch3n

Related to #208 I'm guessing?

vergenzt avatar Jan 14 '25 02:01 vergenzt

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

zxch3n avatar Jan 14 '25 04:01 zxch3n

@zxch3n I was excited, but I think you closed the wrong issue :)

taye avatar Nov 18 '25 16:11 taye

@zxch3n I was excited, but I think you closed the wrong issue :)

Oh! Thanks for reminding

zxch3n avatar Nov 18 '25 23:11 zxch3n