Examples
Imms offers a single sequential collection, ImmList. It’s the flagship collection of the library, with support for a large variety of useful operations, optimal time complexities, and blazing fast real-world performance.
Ends
Supports access to the ends via AddLast
and AddFirst
.
Bulk
Supports optimized bulk operations for adding multiple elements.
Indexing
Fast lookup, update, insert, and remove.
Complexity
The computational complexity of Imms sequential collections and comparable non-Imms collections can be seen below.
Performance
The collections have been put through thorough benchmarking and compared against similar collections from other libraries. These results are from one benchmarking session, with a specific number of iterations and other parameters. However, the parameters between different tests and test groups are comparable.
For example, the AddLast
benchmark might’ve been executed for 100,000 iterations, while the AddLastRange
benchmark might’ve been executed with input datasets of 10,000 elements 10 times.