[wp-trac] [WordPress Trac] #14972: Proposal: Pool of common strings for core, themes, and plugins

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 27 13:22:59 UTC 2010


#14972: Proposal:  Pool of common strings for core, themes, and plugins
--------------------------+-------------------------------------------------
 Reporter:  demetris      |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  i18n          |     Version:  3.1            
 Severity:  normal        |    Keywords:  dev-feedback   
--------------------------+-------------------------------------------------

Comment(by filosofo):

 > What the percentage is of shared strings across plugins in the
 repository.

 What I mean is, a list of the top strings ordered by descending number of
 occurrences across all plugins (or if you'd prefer the top 100 most
 popular).

 Roughly speaking, for this to be worthwhile the amount of memory saved
 would have to be greater than that used by the common strings, so you'd
 have to say that given an average X number of plugins installed, there
 will be Y distinct strings shared across the plugins.

 So if there are 160 strings in the common file not used in core and an
 average of 20 active plugins, then to save memory, on average those
 plugins would need ''all'' to share 8 distinct strings.  That seems
 improbable to me, but the only way to know for sure is to see some real
 numbers.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14972#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list