Thanks for your input! You''re not mistaken here, it seems. I did a
few tests and it seems faster, especially in Firefox where drag and
drop has some performance problems (due to the Firefox JavaScript/DOM
implementation which is notably slower than, say, Safari or IE).
Should be in SVN today.
Thomas
Am 25.08.2005 um 01:54 schrieb EventListener:
> I''ve noticed that the update method of every Draggable is called
for
> each mousemove event while nothing is dragging. I''m wondering what
the
> reasoning behind this is (vs. attaching the mousemove handler after a
> mousedown event). Does it have a noticeable performance impact when
> there are lots of draggables (say 400)?
>
> Disclaimer: I''m really new to JavaScript and may have missed some
> fundamental facts about event handling with closures.
>
> Cathy
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>