WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36335, comment 251


Ignore:
Timestamp:
10/02/2020 02:02:44 AM (7 months ago)
Author:
jqz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36335, comment 251

    initial v1  
    11Bump.  The number of PHP files in WordPress (and, e.g., WooCommerce) seems to be increasing more quickly than Moore’s law can keep up with.  Most of the page load time is taken up parsing files whose code will never be executed.
    22
     3SSDs and OPcache have merely prolonged the life of the current implementation.
     4
    35To begin with, just moving the existing classes into a PSR-0/4 compliant directory structure and having an autoloader for them would be a great step forwards.  It would not require introducing namespaces or using Composer.  The classes already seem to have PSR-0/4-compliant names, just not filenames.