compressed-lists¶
A Python implementation of the CompressedList
class from R/Bioconductor for memory-efficient list-like objects.
CompressedList
is a memory-efficient container for list-like objects. Instead of storing each list element separately, it concatenates all elements into a single vector-like object and maintains information about where each original element begins and ends. This approach is significantly more memory-efficient than standard lists, especially when dealing with many list elements.
Install¶
To get started, install the package from PyPI
pip install compressed-lists