[wp-trac] [WordPress Trac] #58458: Move the load of `array_keys` to a different level in the `WP_Hook` class

WordPress Trac noreply at wordpress.org
Thu Sep 14 16:19:16 UTC 2023


#58458: Move the load of `array_keys` to a different level in the `WP_Hook` class
-------------------------------------------------+-------------------------
 Reporter:  bor0                                 |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:  6.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests dev-feedback commit                      |  performance
-------------------------------------------------+-------------------------

Comment (by flixos90):

 Thanks @spacedmonkey. Given the actual performance sees a small
 improvement and the memory increase is small enough, I think that's an
 okay tradeoff.

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


More information about the wp-trac mailing list