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

WordPress Trac noreply at wordpress.org
Tue May 23 21:58:07 UTC 2023


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

Comment (by SergeyBiryukov):

 Replying to [comment:7 samiamnot]:
 > While speeding up `_wp_array_get` is nice, maybe we should be asking how
 to cut ~23k calls down to something manageable. Why is it called that many
 times per screen load?

 That was one of my first thoughts here too, perhaps we could optimize that
 as well as part of the performance focus.

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


More information about the wp-trac mailing list