Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17019, comment 20


Ignore:
Timestamp:
04/08/2011 05:25:24 AM (13 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17019, comment 20

    initial v1  
    11> Yes, I can use the context arg to return the value unfiltered, but isn't that needless overhead which will be noted as plugin performance drag but could be avoided via more strategic filter application?
    22
    3 You're merely replacing the overhead caused by extra function calls with overhead caused by extra ifs checks.
     3You're merely replacing the overhead caused by extra function calls with overhead caused by extra if checks.
    44
    55Given that add_filter() and apply_filters() are called so many times throughout a request, I'd be very surprized if this "strategic application" would yield any speed improvements.