>Note that there’s some calls to CRDT-VERIFY-BUFFER >which is just for debug purpose (it scan the whole buffer and >verify integrity). For a performance evaluation replace >it with an empty function or just comment out those calls. Note to those who looking for that string in crdt.el: The symbol is actually `crdt--verify-buffer'. Qiantan, I'm very excited that you've started this work! I'll look at the code try it out right away. May I suggest putting a copyright notice at the top of the file, so it's clear that this is free software? Please see the attached patch for an example of how to do it. Best regards, -Karl >> On Oct 4, 2020, at 7:59 PM, Qiantan Hong wrote: >> >> I’ve finished the initial work for a CRDT based >> collaborative editing Elisp package. The .el is attached. >> >> The focus is on implementing the core algorithm >> and evaluating performance, so no cursor indicator, >> username display etc was implemented. However, >> they should be easy to add and not relevant to performance >> concern. >> >> I’ve tested it with my friends and the performance seems >> reasonable. Using LogootSplit algorithm, the number of >> text property changes are relatively small. >> >> M-x crdt-test-server starts a local server at port 1333, >> and M-x crdt-test-client connects to 127.0.0.1:1333. >> Or use crdt-serve-buffer and crdt-connect for arbitrary >> address/port. >>