[wp-trac] [WordPress Trac] #64538: memoize wp_normalize_path

WordPress Trac noreply at wordpress.org
Fri Mar 6 18:00:06 UTC 2026


#64538: memoize wp_normalize_path
-------------------------------------------------+-------------------------
 Reporter:  josephscott                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests changes-    |     Focuses:
  requested                                      |  performance
-------------------------------------------------+-------------------------

Comment (by josephscott):

 Apologies for the delay and the back and forth on the approach.  With all
 of the tests pointing to the simple static cache as the best performance
 option at a variety of path counts, I've updated the PR to use the simple
 static cache method.

 As noted by @mukesh27 this clearly isn't going to make it for 7.0, so in
 the code comments I've aimed for 7.1.0.

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


More information about the wp-trac mailing list