The new algorithm uses a hash table rather than function recursion, reducing complexity to O(N). On large numbers of pages, the performance improvement is several orders of magnitude. Props santagada, hailin, mihai. Fixes #10852. Built from https://develop.svn.wordpress.org/trunk@32355 git-svn-id: http://core.svn.wordpress.org/trunk@32326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
189 KiB
189 KiB