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

WordPress Trac noreply at wordpress.org
Mon Jul 7 04:40:14 UTC 2014


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

Comment (by miqrogroove):

 Sergey, the function runs slightly slower with the continue command.  The
 difference is less than 1% but I wanted to point that out.  Adding a
 continue command in the middle of an if block doesn't change the flow of
 control.

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


More information about the wp-trac mailing list