did u get any response to the ticket. it sounds like a serious problem to
me...

i saw ur solution and was wondering if as a user, i should call unbind for
all those elements that get removed. that should solve the problem somewhat?
but then it becomes hard to remember it everytime like in those c++ days.

-GTG

On 8/4/07, offwhite <[EMAIL PROTECTED]> wrote:
>
>
> I have posted a solution to the ticket.
>
> http://dev.jquery.com/ticket/1463
>
> Brennan
>
> On Aug 4, 8:22 am, offwhite <[EMAIL PROTECTED]> wrote:
> > Thanks for the answer. I am binding the elements each time because I
> > am also recreating the table. It is meant to simulate what happens
> > when a block of markup is replaced with an AJAX call and the jQuery
> > functions then attach these events. The markup for the table is
> > removed and then recreated before the function to attach the behavior
> > is run.
> >
> > What I have determined is that the bind function takes longer each
> > time.
> >
> > I have created a ticket on this issue. I am trying to determine what I
> > can do to fix it but I could use some help.
> >
> > http://dev.jquery.com/ticket/1463
> >
> > On Aug 3, 5:40 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote:
> >
> > > In your attachBehavior method, u r attaching the click event every
> time.
> > > This means that during each run, the same handler is run multiple
> times.
> > > That is what is causing ur problem. Attach the click() event only
> once, and
> > > u should see consistent results.
> >
> > > -GTG
> >
> > > On 8/2/07, offwhite <[EMAIL PROTECTED]> wrote:
> >
> > > >http://brennan.offwhite.net/fasterjquery/
> >
> > > > I put together a test to see how well jQuery would perform if I
> > > > carefully chained multiple functions together or use the "each"
> > > > function or completely break them up into separate calls. I was able
> > > > to show the chaining is the fastest while the each function still
> > > > performed alright.
> >
> > > > What I discovered was that when the functions are run again they
> take
> > > > longer. And it adds up each time. I would like to know if there is
> > > > something I should do or if there is something in jQuery that is
> > > > causing this behavior.
> >
> > > > You can see the sample here...
> >
> > > >http://brennan.offwhite.net/fasterjquery/
>
>

Reply via email to