[wp-trac] [WordPress Trac] #10852: improve get_page_children
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 2 12:24:51 UTC 2009
#10852: improve get_page_children
--------------------------+-------------------------------------------------
Reporter: hailin | Owner: westi
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 2.9
Component: Optimization | Version: 2.9
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by FolioVision):
There is another solution for this problem which has O(1) complexity, but
would require an extra field in the posts table. Another downside is that
it would be much slower when posting a new page or updating a page. O(n)
is really the best solution so let's go for it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10852#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list