[wp-trac] [WordPress Trac] #11212: Add filter to wp_parse_args()
WordPress Trac
wp-trac at lists.automattic.com
Sun Nov 22 07:59:08 UTC 2009
#11212: Add filter to wp_parse_args()
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Status: new
Priority: lowest | Milestone: Future Release
Component: General | Version: 2.9
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by dd32):
> It seems to be 10 times slower the first time you call it (it must get
smart and get faster starting the second time), but it's still not slow:
That'll be the overheads of the timer_*() functions.. That gets included
in the entire calculation, so shared over thousands, its small, over 1 its
more.. but close to nothing.
apply_filers() is pretty fast without a hooked function, as it short
circuits the function early.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11212#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list