SplitOrderedCollections.jl

Extend the SplittablesBase interface to OrderedCollections
Author April-Hannah-Lena
Popularity
0 Stars
Updated Last
2 Years Ago
Started In
July 2022

SplitOrderedCollections.jl

Extend the SplittablesBase interface to OrderedCollections

This is a lightweight package that adds method definitions for amount and halve to OrderedDict, OrderedSet, LittleDict. There is also a method for BitSet from Julia Base.

Add the package with:

] add https://github.com/April-Hannah-Lena/SplitOrderedCollections.jl.git

Use the package with:

using OrderedCollections
using SplittablesBase
using SplitOrderedCollections

The package conforms with the SplittablesBase Interface. In particular, the methods defined here return the same type as amount and halve for regular Dict and Set so that code can be general without type instabilities.

Used By Packages

No packages found.