[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 24 21:29:51 UTC 2012
#18536: Improve performance of WP_Query core
-----------------------------+------------------
Reporter: cheald | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.4
Component: Performance | Version:
Severity: normal | Resolution:
Keywords: early has-patch |
-----------------------------+------------------
Comment (by scribu):
Replying to [comment:42 ryan]:
> As a possible performance improvement for sites without a 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.
Even with a non-persistent object cache, get_post() shouldn't trigger any
new queries, since update_post_cache() is called before it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:46>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list