Open endel opened 7 years ago
I've done the same with similar results, my own use cases don't require optimization so I've never done so; but clearly there is a lot of recursion and looping going on. Reducing the call stack would go a long way. I'd welcome some pull requests if anybody feels up to the challenge.
This is not really an issue. Just a room for improvement.
I did a performance comparisson between
deep-diff
andfast-json-patch
diff algorithms, andfast-json-patch
is way faster. Would be nice to improve performance of this project.Results:
Source code: https://gist.github.com/endel/d9d498f50419d6108a07433122b15719