Hugh FD Jackson
Hugh FD Jackson
It's possible that an .immutable flag would be contained in data. For instance: ``` javascript var myRecord = { id: '3232', payload: { ... }, immutable: true } ``` As...
As closely as possible, provide an Iterator interface for im.object and im.array. Including: - Iteration over one element in a collection of n shouldn't incur O(n) penalty (i.e. no full...
According to immutable's tests on reduce-based object iteration, ie10 (and possibly others) are failing due to growing stack space: Acceptance: - Stack size usage for reduce should be constant size....
At the moment, the benchmarks show it far too close to persistent-hash-trie implementations. I'd expect that shallow-clone would be _WAYYYY_ slower. ``` bash assoc property with Trie of 1 //-------------------------//...
As a user, I don't want speed to be impacted adversely by constantly re-hashing the same keys. Acceptance: - explore options and impact of memoizing the internally used hash function.
Change the Trie to use Array-Mapping to store keys, as set out in Bagwell (2001) - Ideal Hash Tries.. Measure performance to determine efficacy.
As a user, I want to be able to use immutable-hash-trie in any semi-common environment, including: - ie 6+ - chrome 4+ - FF 3+ - opera 10+ - safari...