Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Author of Diamond types (and the data sets you’re using) here! Congratulations on getting this insane performance. I’d love to know how you’re doing it - that’s truly excellent work. I didn’t know it was even possible to get javascript to go that fast on this problem. And I say that as someone who has thought about crdt / text performance way more than is reasonable.

RIP my morning. I’m going to have to pour through your code to see how you’ve pulled this off. Do you have anything you recommend I read to understand how your algorithm works?



A sneak peak to some future blogpost, this is what happens when "OOD " is inserted into "GG WP" to get "GOOD G WP":

https://appsets.jsonjoy.com/blogposts/list-crdt-internals/wi...


Can't wait for the future blogpost! I got the Rope text data structure both from the pic, and from the data structure in AbstractRga, but am unsure of the identifier table, I am guessing thats the ID -> Chunks binary tree.


Subscribe to our mailing list to not miss it: https://jsonjoy.substack.com/


Any ETA on the blog post?


> Do you have anything you recommend I read to understand how your algorithm works?

Not really, you should already know those. It is just Block-wise RGA with a tree for blocks and a tree for identifiers, also, with split link and insert-in-between optimization from Briot et. al (2016).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: