[wp-trac] [WordPress Trac] #17129: Speed up is_serialized_string()

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 13 23:11:05 UTC 2011


#17129: Speed up is_serialized_string()
-------------------------+-----------------------------
 Reporter:  markjaquith  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Performance  |    Version:
 Severity:  minor        |   Keywords:
-------------------------+-----------------------------
 {{{is_serialized_string()}}} uses an expensive regular expression. It
 should use substring peeking like {{{is_serialized()}}} does. In my tests,
 this offers a time reduction of about 26%.

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


More information about the wp-trac mailing list