First off, thanks for publishing this code. It's really helpful for working with YJS in Go.
This isn't an issue as much as a discussion, but discussions aren't enabled in this repo.
What is the difference between combineYUpdates in db.go and Y.mergeUpdates from the original JS API and merge_updates from the rust API?
IIUC you had to write out a combineYUpdates function simply because the TFFI CFFI doesn't expose a mergeUpdates function?
I'm not familiar with YJS, so I was wondering if there was something else I was missing.
First off, thanks for publishing this code. It's really helpful for working with YJS in Go.
This isn't an issue as much as a discussion, but discussions aren't enabled in this repo.
What is the difference between
combineYUpdatesin db.go andY.mergeUpdatesfrom the original JS API andmerge_updatesfrom the rust API?IIUC you had to write out a
combineYUpdatesfunction simply because the TFFI CFFI doesn't expose amergeUpdatesfunction?I'm not familiar with YJS, so I was wondering if there was something else I was missing.