juji-io / editscript

A library to diff and patch Clojure/ClojureScript data structures
Eclipse Public License 1.0
472 stars 23 forks source link

Diff inside strings #11

Closed huahaiy closed 3 years ago

huahaiy commented 4 years ago

Right now, we treat strings as atomic units, replacing them as a whole. This is quite wasteful storage wise. We should be able to diff inside the strings, e.g. maybe introduce a :str step.