Leonardo Uribe created MYFACES-3623:
---------------------------------------

             Summary: [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


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

Reply via email to