[wp-trac] Re: [WordPress Trac] #3985: _get_cat_children is very inefficient

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 20:49:09 GMT 2007


#3985: _get_cat_children is very inefficient
-------------------------------------------------------+--------------------
 Reporter:  ryan                                       |        Owner:       
     Type:  defect                                     |       Status:  new  
 Priority:  high                                       |    Milestone:  2.2  
Component:  Administration                             |      Version:  2.1.2
 Severity:  major                                      |   Resolution:       
 Keywords:  2nd-opnion category optimization hit-list  |  
-------------------------------------------------------+--------------------
Comment (by ryan):

 That change avoids walking the category list for cats that have no
 children.  With a categories table containing 3100 cats arranged in a flat
 hierarchy, time need to list categories went from minutes to seconds.
 Next I need to eliminate recursion altogether to sped up listing for those
 who use lots of hierarchy.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3985#comment:14>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list