Performance Hotspot in dispatchEvent
------------------------------------

                 Key: XERCESJ-1331
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1331
             Project: Xerces2-J
          Issue Type: Improvement
          Components: DOM (Level 2 Events)
    Affects Versions: 2.9.1
            Reporter: Ludger Bünger
         Attachments: xercesDocumentImplEventListenerRemovalCheckPatch.txt

When dispatching Events, the method Vector.contains is called unnecessary often.

Attached patch transiently stores the "removed" state of an listener entry 
instead of checking "contains".

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to