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


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.


The code is released under a MIT license.

Required Packages

No packages found.

Used By Packages