Chris Simmons created XERCESJ-1636:
--------------------------------------

             Summary: LCount event optimization should be document scoped
                 Key: XERCESJ-1636
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1636
             Project: Xerces2-J
          Issue Type: Improvement
          Components: DOM (Level 2 Events)
    Affects Versions: 2.11.0
            Reporter: Chris Simmons
            Priority: Minor
         Attachments: 010-LCount-per-document.patch

Currently Xerces dom has a class LCount that it uses to track when listeners 
are added and removed.  It uses this to avoid dispatching events unnecessarily.

It isn't very effective though because there's currently a single static 
lookup.  This means that if you add a listener to one DOM and mutate a second 
completely unrelated DOM then Xerces will needlessly propagate events.

I have a patch to fix the issue that I will attach.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to