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

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 22 05:52:43 GMT 2007


#3985: _get_cat_children is very inefficient
-----------------------------------+----------------------------------------
 Reporter:  ryan                   |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  low                    |    Milestone:  2.2      
Component:  Administration         |      Version:  2.1.2    
 Severity:  normal                 |   Resolution:           
 Keywords:  category optimization  |  
-----------------------------------+----------------------------------------
Changes (by charleshooper):

 * cc: charleshooper (added)

Comment:

 I agree.

 If we use the hierarchy method mentioned above we would recursively have
 to search through the array whereas with the left and right pointer-method
 it wouldn't matter how "deep" the array in question was, the search is
 simple.

 I have some free time tonight, I'd love to get some work done on this.

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


More information about the wp-trac mailing list