i was doing a program what uses flat database and i got this idea if i could compress my huge text file and then open that archive and then unpack some bytes(lines) in the memory so it would take less space and would be faster because the whole huge text file wouldn't be loaded in the memory, only some bytes(lines) of the file. so im asking you that anyone know any compressions that allow unpacking bytes from file in the archive not the whole file. and generally is this good idea in at all, what do you think people?