Commit 4569bfa55a44be3a03cf925df44bf1af0f21ddaa

Vicent Marti 2011-02-05T09:11:17

Keep the tree entries always internally sorted Don't allow access to any tree entries whilst the entries array is unsorted. We keep track on when the array is unsorted, and any methods that access the array while it is unsorted now sort the array before accessing it. Signed-off-by: Vicent Marti <tanoku@gmail.com>