[wp-trac] [WordPress Trac] #11559: split HTTP Class and Functions

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 04:19:15 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 jacobsantos):

 Well, in general when you include a file around a conditional the opcode
 caching extensions may or may not keep that file cached, since it doesn't
 know if it will stay part of the script with each request.

 The problem is that also that the PHP engine has to go back to the file,
 load it, parse it, compile it and then run it after stopping the
 execution. Each time this is done, it adds overhead. Albeit a small amount
 relative to the machine, but still it can be noticeable when you do it
 many times.

 Well, that said, !BackPress already separates the functions and classes. I
 do not like it at all, but eventually that is going to find its way back
 into !WordPress.

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


More information about the wp-trac mailing list