RunLengthArrays.jl

Run-Length encoded arrays in Julia
Author ziotom78
Popularity
0 Stars
Updated Last
3 Years Ago
Started In
June 2019

RunLengthArrays

Stable Dev Build Status Build Status Codecov

This Julia package implements a RunLengthArray{N,T} type that behaves like a 1D array but is extremely efficient if there are several repeating instances of a few values, like in the following example:

using RunLengthArrays

x = RunLengthArray{Int,String}(["X", "X", "X", "X", "O", "O", "O", "O", "O"])

More information is available in the documentation.

License

The code is released under a MIT license.

Required Packages

No packages found.

Used By Packages