https://github.com/avh4/im.js
Immutable data structures for javascript
https://github.com/avh4/im.js
Last synced: 3 months ago
JSON representation
Immutable data structures for javascript
- Host: GitHub
- URL: https://github.com/avh4/im.js
- Owner: avh4
- Created: 2014-07-19T07:37:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-20T18:09:59.000Z (almost 11 years ago)
- Last Synced: 2025-02-07T17:45:40.148Z (5 months ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](http://travis-ci.org/avh4/im.js)
[](http://nodejs.org/api/documentation.html#documentation_stability_index)Currently implemented:
- vector, using shallow native-array tree, from [josef-jelinek/cofy:feat-vector](https://github.com/josef-jelinek/cofy/blob/master/lang/feat-vector.js)
- map, using hash trie, from [hughfdjackson/persistent-hash-trie](https://github.com/hughfdjackson/persistent-hash-trie)Future:
- Improve hash trie using "Array-Mapping" (Bagwell (2001) - Ideal Hash Tries), described in [hughfdjackson/persistent-hash-trie #10](https://github.com/hughfdjackson/persistent-hash-trie/issues/10)
- convenience wrappers around persistent-hash-trie [hughfdjackson/immutable](https://github.com/hughfdjackson/immutable)
- Improve performance of `vector.forEach` by directly iterating and not relying on `toArray`