[wp-hackers] Inline Documentation Effort was a Failure
jason at intraffic.net
Wed May 28 02:31:19 GMT 2008
The jQuery library that WP is shipped with is already packed, and none
of minification or packing.
Callum Macdonald wrote:
> Otto wrote:
>> PHP's ability to ignore comments is *extremely* fast, and it's highly
>> unlikely that you'd notice any performance difference whatsoever.
>> You'd get a *lot* more speed benefits out of a PHP opcode cache on the
>> server than you ever would with comment removal.
> Agreed. My thought was for download size. WP uses a lot of small
> functions. If we document each one, it could add 50% to the size of
> the codebase. No need for every user to download all that extra weight.
> It would be a toss up between the hassle of maintaining the comment
> stripping code, which would undoubtedly introduce bugs at some point,
> and the bandwidth / server load / etc cost of everyone downloading the
> As an aside, if we introduced some sort of "build" process, we could
> a performance boost.
> Cheers - Callum.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers