dominictarr / crdt

Commutative Replicated Data Types for easy collaborative/distributed systems.
MIT License
836 stars 43 forks source link

Performance for text editing usage #38

Closed marcelklehr closed 9 years ago

marcelklehr commented 9 years ago

When editing some text, one needs to convert flat indices into tree nodes and vice versa.

How efficient is this and is it advisable to use CRDTs for text editing?

dominictarr commented 9 years ago

use this: https://github.com/dominictarr/r-edit it can edit the size files I like to work with no trouble, 200-300 lines, etc

I havn't optimized it any further because I havn't needed any more. sorry I can't give you a clearer answer, this sort of thing is quite difficult to measure.

marcelklehr commented 9 years ago

I just created r-string. It allows for character-wise collaboration. Performance could be better but it works :)

dominictarr commented 9 years ago

Awesome! I added a link to r-string from the scuttlebutt readme.

marcelklehr commented 9 years ago

thanks :)