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

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 17 08:33:09 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  |  
-----------------------------------+----------------------------------------
Comment (by JeremyVisser):

 Please forgive my ignorance, as your PHP skills would be way better than
 mine, but when I do hierachies in arrays, I generally use matrixes
 (matrices?):


 {{{
 array(
     parent => array(
         child => array(
             grandchild => 'value'
         ),
     ),
 )
 }}}

 Is this what you meant, or is your method better performance-wise? Or
 should I just stay away from Trac? {{{;)}}}

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


More information about the wp-trac mailing list