Limit maximum depth
drasojem opened this issue · 1 comments
I'm looking for a way for limiting the maximum depth of the diff. As I'm trying to diff a very complex Object where are many (millions) paths to the same objects, without them being circles. As you can imagine this results in an ridiculous runtime.
So what I thought might be a solution to this, is to limit the depth to 2 and replace objects in tier 2 with their IDs (every object in my application has a unique one), so that the user can see their diff by requesting another run with the new object.
Is there already a way to accomplish that which i didn't found? Or is that a feature wich will be considered to be implemented?
If you would give me some advice where to start, I would try to implement it myself.
+1