Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Huahai Yang
My understanding is that data.xml returns data as defrecords and they implements IPersistentMap, so I think editscript should work for data.xml. Please let me know how it goes if you do try. The performance should be good as maps are cheap to diff. Currently, anything implements IPersistentMap,

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Gregg Reynolds
On Tue, May 1, 2018, 1:52 AM wrote: > Hello, > > I am happy to make available a diffing/patching library for Clojure data > structures. > > https://github.com/juji-io/editscript > That looks very good! Am I right that this could be used along with e.g. data.xml

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Simon Luetzelschwab
My apologies, missed the reference further below since you mentioned you did not find any libraries in your intro text. On Thu, May 3, 2018 at 9:11 AM, wrote: > My readme specifically mentioned https://github.com/friemen/diffit, where > I said: > > >...The same sequence

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread hyang
My readme specifically mentioned https://github.com/friemen/diffit, where I said: >...The same sequence diffing algorithm is also implemented in diffit . Using their benchmark, our implementation has slightly better performance due to more optimizations.

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-03 Thread Simon Luetzelschwab
Thanks for sharing! Last time I was looking for something similar, I came across this library - https://github.com/friemen/diffit It works for both Clojure and ClojureScript, although it's specific for either maps or vectors. I haven't looked at the specific implementations of either library

Re: [ANN] editscript: a diffing library for Clojure data

2018-05-02 Thread Colin Fleming
This looks very nice, thank you! On 1 May 2018 at 06:52, wrote: > Hello, > > I am happy to make available a diffing/patching library for Clojure data > structures. > > https://github.com/juji-io/editscript > > Two flavors of diffing algorithms are provided, with very

[ANN] editscript: a diffing library for Clojure data

2018-05-01 Thread hyang
Hello, I am happy to make available a diffing/patching library for Clojure data structures. https://github.com/juji-io/editscript Two flavors of diffing algorithms are provided, with very different performance characteristics, suitable for different applications. * One optimizing diffing