Commits
Mark Hibberd authored and Morten Kjetland committed 228c5761751
[#907] Changed avoidCascadeSaveLoop to use a Set rather then a List. Using a List for detecting save loops has severe performance implications - approx O(n^2). Given a structure that had 2000 items in a list representing a many-to-one relationship a save was taking approximately 90 seconds. Switching to the Set dropped this to less that a second.