yjs / y-protocols

Yjs encoding protocols
MIT License
109 stars 39 forks source link

Possibility to disable change event completely #24

Open mifopen opened 1 year ago

mifopen commented 1 year ago

While change event is useful in some cases, it harms performance when it's easier to handle updates with the same state than to deep-compare states. Even if you do not use change event at all, you have to spend some CPU cycles on deep comparing objects. It would be nice to have an option to disable all the logic for the change event for particular awareness instance.

mifopen commented 1 year ago

Hey! Is there any way we can help with it?