You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Ludger Bünger (JIRA)" <xe...@xml.apache.org> on 2008/10/02 16:55:44 UTC

[jira] Updated: (XERCESJ-1331) Performance Hotspot in dispatchEvent

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

Ludger Bünger updated XERCESJ-1331:
-----------------------------------

    Attachment: xercesDocumentImplEventListenerRemovalCheckPatch.txt

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org