[wp-trac] [WordPress Trac] #18536: Improve performance of WP_Query core
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 24 20:33:21 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 ryan):
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.
Although we'd still need something to restore order since orderby had to
be dropped for the second query. So, probably not worth the worry.
Regardless, we can hash out with further optimizations later.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18536#comment:45>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list