Hey,
> in my qx.event.Manager.js#654
>
> the entryList is sequentially looped:
>
> for (var i=0, l=entryList.length; i<l; i++)
> {
> entry = entryList[i];
> if (entry.handler === listener && entry.context === self)
> ...
>
> Now the debugger tells me that in my case
>
> entryList.length == 53033 (!!!many items!!!)
>
> so everything gets very slow.
>
> 1) Does this show some problem in my code or are all qooxdoo events inside
> entryList
> and the huge number is normal?
Well, it depends on the application size. If its a huge application, a number
of 53k listeners is possible, especially when using data binding. So thats
nothing I would worry about.
> 2) Shouldn't the access to entryList be via a hashtable?
And what would the key be? Listener and context could be two complex widgets...
Did you profile how much this is impacting the overall performance? If its
enough, we might consider a bug report for that.
Regards,
Martin
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel