[wp-hackers] This is a Performance Enhancement?
Jacob Santos
wordpress at santosj.name
Thu Jan 7 15:01:30 UTC 2010
if ( class_exists('Closure') ) :
function add_filter(..) {
// version of function that accepts closures
}
else :
function add_filter(..) {
// version of function that doesn't accept closures
}
Just because someone may be a good coder in one field or another, doesn't mean shit that they know everything or even anything about performance.
Jacob Santos
More information about the wp-hackers
mailing list