Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3623

[perf] avoid use HashSet for check empty html elements in HtmlResponseWriterImpl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.16, 2.1.10
    • JSR-314
    • None

    Description

      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.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: