kriskowal / collections Goto Github PK
View Code? Open in Web Editor NEWJavaScript collections with idiomatic interfaces
License: MIT License
JavaScript collections with idiomatic interfaces
License: MIT License
Jasminum supports PhantomJS, but takes on a bunch more dependencies, apart from its import cycle with the Collections monorepo. Will need a strategy for vendoring its considerable dependencies.
I've noticed there is no OrderedSet here. By OrderedSet I mean:
A type of Set that has the additional guarantee that the iteration order of values will be the order in which they were added.
If you were to implement an OrderedSet with O(1) add
and delete
operations, and a reasonably fast iteration speed, how would you go about it?
(Well, assuming ECMAScript Map/Set/{} property access is O(1)).
Would you use a doubly-linked list as a backend, like in oset? While it has O(1) time complexity for add
and delete
, iterating over a linked list is slower than a native array.
Asking in public here as somebody else may find this useful too.
Since we’re building a monorepo, let’s consolidate the documentation into this repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.