Changes under the hood to event handling

0 views
Skip to first unread message

Mike Rumble

unread,
Jun 23, 2009, 5:53:37 PM6/23/09
to Prototype: Core
I was having a poke around under the hood of the latest RC and noticed
some changes to event handling (I think the changes were actually made
for RC1, but none the less).

The event handling system now uses the new Element Storage to cache
handlers, and I'm interested to learn the rationale for this. Was the
change made simply to adopt Element Storage or are there performance
benefits?

Tobie Langel

unread,
Jun 23, 2009, 6:24:07 PM6/23/09
to Prototype: Core
The former, I believe. I would tend to think that these changes would
actually cause higher memory consumptions on one-paged applications
(handlers of removed DOM nodes cannot be garbage collected).
Reply all
Reply to author
Forward
0 new messages