Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tokazama/staticlists.jl
Statically sized lists for Julia
https://github.com/tokazama/staticlists.jl
functional-programming julia-language linked-list static
Last synced: about 1 month ago
JSON representation
Statically sized lists for Julia
- Host: GitHub
- URL: https://github.com/tokazama/staticlists.jl
- Owner: Tokazama
- License: mit
- Created: 2022-04-21T00:02:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-25T17:12:40.000Z (about 2 years ago)
- Last Synced: 2024-10-12T23:20:56.778Z (about 1 month ago)
- Topics: functional-programming, julia-language, linked-list, static
- Language: Julia
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StaticLists
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://Tokazama.github.io/StaticLists.jl/stable)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://Tokazama.github.io/StaticLists.jl/dev)
[![Build Status](https://github.com/Tokazama/StaticLists.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/Tokazama/StaticLists.jl/actions/workflows/CI.yml?query=branch%3Amain)
[![Coverage](https://codecov.io/gh/Tokazama/StaticLists.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/Tokazama/StaticLists.jl)This package exports `StaticList` a statically-sized list.
Similar to Julia's `Tuple`, these types are useful for creating collections of small strongly-typed values.
Unlike `Tuple`, `StaticList` may be composed iteratively without having to reconstruct new instances.
This allows small collections (a length of a little over 32) to undergo many operations that may add or remove a few values with little overhead.
Inference is explicitly tested for most methods.
Most methods have also been bench marked using `BenchmarkTools` to ensure there's little to no overhead where possible.