Kevin Jahns

Results 261 comments of Kevin Jahns

Makes sense. Feel free to open a PR! It's hard to envision how this would be used in practice. If you intend to make a PR, please also state how...

Thanks for the PR! I'm not sure if I like the approach. I'd prefer `observe(f)` to return `f`. I added a comment in #327.

I can't access the repro repository. Can you please ensure that it is public? -------- Original Message -------- On 12/3/24 4:02 AM, Jeff Hemphill wrote: > Checklist > > -...

I'm not happy about the typescript recommendation to duplicate declaration files. Could you please reopen the ticket so they respond to my question?

The initial update stored in the file seems to be corrupt. It has a length of 259kbit. After applying it to a document, the document has a size of 48kbit....

That makes a different. When disabling gc, there is still a 20 byte difference. At this point, I assume that the document was generated with an old Yjs release (or...

It is unlikely that different Yjs versions caused the issue. There haven't been any changes to the data format in a long time.

I can confirm the issue. Merging _a lot_ of updates using `Y.mergeUpdates` is quite expensive. The divide-and-conquer approach is interesting. However, there is definitely a better algorithm to merge updates....

Wouldn't this suggest that there is a deeper underlying issue? Just setting the cursor to the end of the document doesn't seem like the right solution. :/

I implemented a few fixes / changes for cursors (ab23460ed70afdc63258c329f042a2a6fb364444). Maybe they will fix this specific issue as well. Anyway, I want to investigate this further. But for now I...