[wp-trac] [WordPress Trac] #3201: convert_smilies optimization

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 4 02:54:59 GMT 2006


#3201: convert_smilies optimization
----------------------------+-----------------------------------------------
 Reporter:  Nazgul          |       Owner:  anonymous
     Type:  enhancement     |      Status:  new      
 Priority:  normal          |   Milestone:  2.1      
Component:  Administration  |     Version:  2.1      
 Severity:  normal          |    Keywords:  has-patch
----------------------------+-----------------------------------------------
 Now that smilies are built using a regex, it is possible for us to
 optimize convert_smilies.

 It splits and loops through all content passed to it, calling a regex on
 each line.
 The attached patch replaces that loop with a single regex.

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


More information about the wp-trac mailing list