[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-29 Thread Mark Holton
On Tue, Sep 29, 2009 at 7:12 AM, andris andris.rein...@gmail.com wrote: Hi, I've implemented a simple library on the top of DOM storage and IE userData to act as a browser side caching solution called DOMCached (www.domcached.com). The library acts like a kind of javascript memcached

[Prototype-core] Re: Suggestion: DOM storage methods to Prototype

2009-09-29 Thread Mark Holton
On Tue, Sep 29, 2009 at 1:37 PM, kangax kan...@gmail.com wrote: I can't speak for everyone in the core, but most definitely not. This is clearly more suited for a standalone module. Actually, you changed my [user] mind. Module makes more sense. Core libs shouldn't get bloated. (but this

[Prototype-core] Re: Foreach Loops

2008-09-16 Thread Mark Holton
I agree with you, Simon. The solutions that iterate over the loop 2x have poorer BigO than the grep method. That is, as the array size increases, the two iterations are O(N^2), while the grep method is more on the order of O(N). On Tue, Sep 16, 2008 at 9:08 AM, Simon Charette [EMAIL