[wp-trac] [WordPress Trac] #37643: Convert chr() function calls in remove_accents() to string literals for better performance.

WordPress Trac noreply at wordpress.org
Fri Aug 26 09:34:45 UTC 2016


#37643: Convert chr() function calls in remove_accents() to string literals for
better performance.
-------------------------+-----------------------------
 Reporter:  gitlost      |       Owner:  wonderboymusic
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.7
Component:  Formatting   |     Version:  1.5
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38359"]:
 {{{
 #!CommitTicketReference repository="" revision="38359"
 Formatting: for a performance boost in `remove_accents()`, convert `chr()`
 calls to string literals.

 Props gitlost.
 Fixes #37643.
 }}}

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


More information about the wp-trac mailing list