[wp-trac] [WordPress Trac] #11559: split HTTP Class and Functions
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 22 13:50:37 UTC 2009
#11559: split HTTP Class and Functions
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Optimization | Version: 3.0
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by dd32):
> Since I use an opcode cache, I would be upset if this was done.
Wouldnt that mean next-to-nothing in terms of performance then? The file
is already pre-'compiled' in memory. Its much the same as the rest of
WordPress only loading the files needed..
Potentially, if you're worried about *_once overheads, We could use {{{if
( ! class_exists('WP_HTTP') ) include ....}}} or a similar 'faster'
check..
For a function which should only end up being called once every couple of
hundred page loads (as a minimum hopefully)..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11559#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list