[wp-trac] [WordPress Trac] #36292: Rewrites: Next Generation

WordPress Trac noreply at wordpress.org
Tue Mar 22 08:04:32 UTC 2016


#36292: Rewrites: Next Generation
-----------------------------+-----------------------------
 Reporter:  rmccue           |       Owner:  rmccue
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  Future Release
Component:  Rewrite Rules    |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by rmccue):

 Replying to [comment:1 rmccue]:
 > this is due to the current implementation, which converts string-based
 rules to objects for ease of internal handling. We can instead use just-
 in-time conversion after the pattern matching, which reduces this
 significantly; updated patch coming soon.

 I profiled this, and it comes out to a negligible difference over the non-
 object implementation (as is expected). However, this is potentially a
 temporary gain, as one would expect over time that code would generally
 switch to object-based.

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


More information about the wp-trac mailing list