Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58012, comment 40


Ignore:
Timestamp:
05/03/2023 06:58:03 PM (21 months ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58012, comment 40

    initial v1  
    66Anyway, I agree this change has barely anything to do with performance. We can be nit-picking as much as we want in either direction, but this is about code patterns, like following the latest available PHP best practices.
    77
    8 Maybe 1 of the 2 is an extremely tiny bit faster or slower than the other, but in reality this will make close to zero difference for overall site performance (the same way that for example removing 100 if clauses somewhere is great, but still is too small of a change to ''actually'' impact performance.
     8Maybe 1 of the 2 is an extremely tiny bit faster or slower than the other, but in reality this will make close to zero difference for overall site performance (the same way that for example removing 100 if clauses somewhere is great, but still is too small of a change to ''actually'' impact performance. And when I say close to zero, I don't mean 1% (which would still be significant), more like a fraction of a percent.
    99
    1010I'll remove the performance focus as this is about code patterns, not performance.