Now I've read a Haskell library for more efficiently storing text more efficiently in memory, once again defeating some of Haskell's laziness.

Specifically it compresses into a utf-8/etc encoded array, and takes offset/length slices of it. Plus much of the bridge to normal laziness involves "Streams" which seem to essentially be iterators with size estimates.

Sign in to participate in the conversation

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).