I came across a toy example in Python that "compresses" a sequence of DNA to a 
bitfield. They start by showing the space the original string takes in memory 
by using sys.getsizeof, so I was just trying to replicate the same in Nim.

So while I don't care about the actual internal structure of the string it'd be 
nice to be able to introspect the space it takes in the memory.

If that's not possible, I'll use ascii string + some loose change to 
approximate. 

Reply via email to