[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 24 20:06:27 UTC 2012


#18536: Improve performance of WP_Query core
-----------------------------+------------------
 Reporter:  cheald           |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  3.4
Component:  Performance      |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  early has-patch  |
-----------------------------+------------------

Comment (by ryan):

 As a possible performance improvement for sites without an persistent
 object cache, do the get_post() array_map() only if $non_cached_ids and
 $ids don't have the same count? If they're the same just use $fresh_posts.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list