myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3623) [perf] avoid use HashSet for check empty html elements in HtmlResponseWriterImpl
Date Fri, 12 Oct 2012 06:11:04 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-3623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-3623.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.10
                   2.0.16
    
> [perf] avoid use HashSet for check empty html elements in HtmlResponseWriterImpl
> --------------------------------------------------------------------------------
>
>                 Key: MYFACES-3623
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3623
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.0.16, 2.1.10
>
>
> I have seen this trick from Trinidad long time ago. I tested it and it is worth to do
it, because you can skip some unnecessary String instances created by toLowerCase(), and instead
use equalsIgnoreCase(). From memory perspective it is good and form speed perspective it suppose
an small improvement.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message