Any easy way to extract files to memory buffer?

Vladimir Panteleev thecybershadow.lists at gmail.com
Mon Mar 18 21:14:05 UTC 2019


On Monday, 18 March 2019 at 21:09:55 UTC, Michelle Long wrote:
> Trying to speed up extracting some files that I first have to 
> extract using the command line to files then read those in...
>
> Not sure what is taking so long. I imagine windows caches the 
> extraction so maybe it is pointless?

You can speed up such things using a tmpfs or RAM disk.

On Linux you just use mount -t tmpfs ...

On Windows it is a little more complicated, there are programs 
like ImDisk that can create RAM drives (which can then be 
formatted to whatever).

If it's just one file, sometimes you can pipe it from the 
unpacking program (tar etc.) into the consuming program.



More information about the Digitalmars-d-learn mailing list