Closed stephen closed 1 year ago
I should also say my primary goal here is to fix possible corruption bugs mentioned here: https://github.com/automerge/automerge/issues/536#issuecomment-1518422998
Hey @stephen, thanks for this!
I've changed C.SIZE_MAX>>1 to C.PTRDIFF_MAX and merged it in.
For some reason when I do ./deps/rebuild.sh
the libraries are a few hundred kbs smaller, so I've done that too. I wonder what the difference could be.
I'm considering a few breaking changes in https://github.com/automerge/automerge-go/pull/22, if you're using automerge-go I'd love your feedback.
Probably the biggest is to move from the JSON serializer to hand-rolling it; which is a lot more reliable for nested types.
thanks for looking!
unfortunately i’m not quite in a position to provide feedback - my use of automerge-go has been exclusively for syncing/backing up documents, so i haven’t actually used any of the manipulation codepaths in go
Sounds good :D. Seems like it would be unlikely to break anything for you then.
I attempted to pull in automerge-rs 0.5.0 which required some minor changes.