[ 
https://issues.apache.org/jira/browse/OFBIZ-10776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738050#comment-16738050
 ] 

Pierre Smits commented on OFBIZ-10776:
--------------------------------------

Hi [~gil portenseigne],

My latest counts show the following regarding uiLabelMap:
|| || ||Trunk||Plugin||Total||
||render type|| || || || ||
|Screen widget|map-name|680|341|1.021|
| |label refs|2.270|669|2.939|
|Menu widget|label refs|1.033|269|1.302|
|Form widget|label refs|6.335|1677|8.012|
|Freemarker template|label refs|6.214|2611|8.825|
|Groovy|map-name|13|3|16|
| |label refs|49|3|52|
|Java|label get|35|1|36|
|*Total*| |*16.629*|*5.574*|*22.203*|

So changing the requirement from 'uiLabelMap' to 'lm' in would save 177.624 
bytes.
  

> Change 'uiLabelMap' requirement in Framework code
> -------------------------------------------------
>
>                 Key: OFBIZ-10776
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10776
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Minor
>
> Reducing byte size of  'uiLabelMap' from code elements in Framework will lead 
> to significant saves in widgets, templates and functions downstream.
> See 
> https://github.com/PierreSmits/ofbiz-framework/commit/438e9c45eede9c7036ba9e658036085908dce09d



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to