[wp-trac] [WordPress Trac] #59405: Reduce the use of the `_wp_array_get()` function to improve performance (was: Backport from Gutenberg: Reduce the use of the `_wp_array_get()` function to improve performance)

WordPress Trac noreply at wordpress.org
Mon Sep 25 18:06:56 UTC 2023


#59405: Reduce the use of the `_wp_array_get()` function to improve performance
---------------------------------------+--------------------------
 Reporter:  aristath                   |       Owner:  (none)
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  6.4
Component:  General                    |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch gutenberg-merge  |     Focuses:  performance
---------------------------------------+--------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch => has-patch gutenberg-merge


Old description:

> In https://github.com/WordPress/gutenberg/pull/51116 we reduced
> significantly the number of calls to `_wp_array_get()`, to improve
> performance.
> This ticket is to backport the same changes to Core, and apply the same
> logic where appropriate.

New description:

 Merges work from Gutenberg to reduce significantly reduce the number of
 calls to `_wp_array_get()`, to improve performance.

 This ticket merges the same changes from Gutenberg into Core, and applies
 the same logic where appropriate.

 References:
 * https://github.com/WordPress/gutenberg/pull/51116

--

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


More information about the wp-trac mailing list