[wp-trac] [WordPress Trac] #58376: Improve performance of the `_wp_array_get` function

WordPress Trac noreply at wordpress.org
Tue May 23 21:59:12 UTC 2023


#58376: Improve performance of the `_wp_array_get` function
-------------------------+-----------------------------
 Reporter:  aristath     |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  high         |   Milestone:  6.3
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55851" 55851]:
 {{{
 #!CommitTicketReference repository="" revision="55851"
 General: Improve performance of the `_wp_array_get()` function.

 When using a block theme, `_wp_array_get()` is the most called function on
 the front end of a site.

 This commit makes a few minor performance optimizations, which add up to a
 noticeable improvement.

 Follow-up to [49135], [49143], [49580].

 Props aristath, jrf, afercia, costdev, swissspidy, flixos90, spacedmonkey,
 mukesh27, samiamnot, SergeyBiryukov.
 Fixes #58376.
 }}}

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


More information about the wp-trac mailing list