I have started my second project in nim, mostly for learning purposes, and in 
both I have encountered the need to save memory when storing sequential data 
with many repeating symbols. <https://en.wikipedia.org/wiki/Dictionary_coder> 
(storing unique/deduplicated value in a dictionary + an array with the indexes 
of the values pointing to that dictionary to represent the original sequence) I 
have googled a bit (+ github and nimble dir) and couldn't find anything to help 
with that, maybe I am searching for the wrong words ? Started writing my own 
now, in just 30 lines of code, which works well enough for the purposes I have, 
but I'd rather use something that exists already, better optimized for speed.

Reply via email to