[wp-trac] [WordPress Trac] #22300: enhance urlencode_deep()

WordPress Trac noreply at wordpress.org
Tue Oct 30 17:28:39 UTC 2012


#22300: enhance urlencode_deep()
-------------------------+------------------------------
 Reporter:  wpmuguru     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by nbachiyski):

 Actually, in my testing {{{map_deep()}}} is around twice faster for me for
 non-literal string values. I have no explanation.

 Here is a very lame and crude testing script:

 https://gist.github.com/ac7c4d5f783880917758

 I tried with op-code cache on and off, also I tried swapping the order of
 running the urldecode_deep/map_deep, I also tried using different
 functions, not only urldecode().

 There is a chance I did some stupid mistake in the script, so I'd love a
 second look.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22300#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list