[wp-trac] [WordPress Trac] #5303: "Manage > Pages" becomes very slow with hundreds of pages

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 25 18:41:24 UTC 2009


#5303: "Manage > Pages"  becomes very slow with hundreds of pages
--------------------------+-------------------------------------------------
 Reporter:  MartijnD      |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:  2.8.5    
Component:  General       |      Version:  2.8.4    
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by hailin):

 I agree that get_page_children needs some improvement. Currently it's
 O(N^2).
 A better way to improve it is to use a similar algorithm used in walker
 class.
 I will take a shot at this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5303#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list