[wp-trac] [WordPress Trac] #28724: Optimize Regexp Usage in wptexturize()

WordPress Trac noreply at wordpress.org
Fri Jul 4 06:08:31 UTC 2014


#28724: Optimize Regexp Usage in wptexturize()
-------------------------+------------------
 Reporter:  miqrogroove  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.0
Component:  Formatting   |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by miqrogroove):

 I got another 25% improvement just by stubbing this line after the "do
 texturize" comment:

 {{{
 if (empty(trim($curl))) continue;
 }}}

 This is definitely worth looking into.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28724#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list