I think this is ready for perusal. It should be safe and an improvement over what's in master now and should solve at least the simple cases of issue #61. Shouldn't break anything new except for the pathological test cases I wrote in the IterationDiffs app. Will comment here on the code that needs cleanup.
Merged into master because it looked like it isn't causing any new apps to fail. Possible that there are still performance problems but we'll work on them as they come
I think this is ready for perusal. It should be safe and an improvement over what's in master now and should solve at least the simple cases of issue #61. Shouldn't break anything new except for the pathological test cases I wrote in the IterationDiffs app. Will comment here on the code that needs cleanup.