Loading ...
Sorry, an error occurred while loading the content.

Re: [ydn-javascript] Drag and drop performance issue with "default" group

Expand Messages
  • dav.glass@yahoo.com
    James -- Yes, if you load a lot of DD instances in the same group you will have performance issues. It s up to you (the implementer) to determine the things
    Message 1 of 2 , Nov 4, 2008
    • 0 Attachment
      James --

      Yes, if you load a lot of DD instances in the same group you will have performance issues.

      It's up to you (the implementer) to determine the things that get used in a particular interaction.

      Then you can determine what drag objects need to be dealt with and when.

      Does that make sense?
      Dav

      Dav Glass
      dav.glass@...
      blog.davglass.com




      + Windows: n. - The most successful computer virus, ever. +
      + A computer without a Microsoft operating system is like a dog
      without bricks tied to its head +
      + A Microsoft Certified Systems Engineer is to computing what a
      McDonalds Certified Food Specialist is to fine cuisine +



      ----- Original Message ----
      > From: jameschao122 <jchao@...>
      > To: ydn-javascript@yahoogroups.com
      > Sent: Tuesday, November 4, 2008 8:37:08 AM
      > Subject: [ydn-javascript] Drag and drop performance issue with "default" group
      >
      > Hi,
      >
      > I'm using YUI 2.5.2, and I noticed that there might be a potential performance
      > issue with the
      > use of the default group.
      >
      > I noticed that whenever you do a mouseDown on an DD, the DragDropMgr end up
      > calling a
      > refreshCache(), which ends up calling a getLocation() for all of the DDs in that
      > same group.
      > When you consider that all DDs are automatically put into the "default" group
      > when one isn't
      > specified, it can potentially be a performance nightmare.
      >
      > Am I on the right track of thinking or is there something I'm missing here?
      >
      > James
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.