Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Most of the APIs return Collection rather than a finer interface and in many cases these collections are repeatedly repacked and resorted unnecessarily. I will go through all APIs that return collections of pages and make them return a finer interface - probably List for unordered collections and SortedSet for ordered collections. This will make the use of these collections much clearer for further development and give us some opportunity for future optimisations.
This is likely to be a very wide set of changes across lots of different classes so I'll submit separate patches for each class.