[wp-trac] [WordPress Trac] #7363: Optimization for kses

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 21 05:04:52 GMT 2008


#7363: Optimization for kses
--------------------------+-------------------------------------------------
 Reporter:  azaozz        |       Owner:  anonymous
     Type:  enhancement   |      Status:  new      
 Priority:  normal        |   Milestone:  2.7      
Component:  Optimization  |     Version:  2.6      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 Each time create_function() is called, it makes new global function taking
 up a bit of memory. It shouldn't be used where it may be called many
 times, like in loops or in functions that may be run many times.

 It doesn't seem to be needed in preg_replace_callback() when there's
 already a callback function defined for it.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7363>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list