[Prototype-core] Performance of 1.7rc1

2010-04-26 Thread Arakis
Hey, great work with protype 1.7. Now the Element.getWith/getHeight works better. I have an notice for you: In IE6, the performance is very bad in comparison to prototype 1.6. But only in IE6, in all other browsers, it runs quickly. I've extracted some code from 1.7 to generate the correctly width

[Prototype-core] Re: Any intention of providing a function.throttle?

2010-04-26 Thread "Cowboy" Ben Alman
I tried posting this the other day, but my post didn't come through for some reason. I've got a snippet of code that will allow you to either throttle or debounce a function, in multiple ways. Granted, my implementation does not use the Function prototype, but that would be trivial to implement. (