[wp-trac] [WordPress Trac] #14814: Allow WP XML-RPC Library to be Extended
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 9 15:54:48 UTC 2010
#14814: Allow WP XML-RPC Library to be Extended
--------------------------+-------------------------------------------------
Reporter: filosofo | Owner: filosofo
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 3.1
Component: XML-RPC | Version: 3.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
Replying to [comment:16 filosofo]:
> I'm assuming empty is much faster than class_exists. Do you think
that's unreasonable?
I have not run any tests on that micro optimization. I suggested it mainly
because it's not necessary. Allways measure btw. :) It can be faster,
true. Is it expected to be non-existant normally? No! So It's an extra
check for nothing - even when empty() is faster then class_exists(), it's
allways slower because the standard WP installation expects a XMLRPC
Server class. Doesn't it?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14814#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list