Use ThreadLocal StringBuilder for create ids on getClientId, like in trinidad
-----------------------------------------------------------------------------

                 Key: MYFACES-1862
                 URL: https://issues.apache.org/jira/browse/MYFACES-1862
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 1.2.2, 1.1.5
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


Trinidad uses a ThreadLocal StringBuilder variable to concatenate the values to 
get the client id, like this:

        StringBuilder bld = __getSharedStringBuilder();
        
bld.append(contClientId).append(NamingContainer.SEPARATOR_CHAR).append(clientId);
        clientId = bld.toString();

We should do something similar for myfaces, because it gives us a performance 
enhancement.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to