Help optimizing UnCompress for gzipped files
Christian Köstlin
christian.koestlin at gmail.com
Wed Jan 3 07:32:35 UTC 2018
On 02.01.18 21:48, Steven Schveighoffer wrote:
> On 1/2/18 3:13 PM, Steven Schveighoffer wrote:
>> // almost the same line from your current version
>> auto mypipe = openDev("../out/nist/2011.json.gz")
>> .bufd.unzip(CompressionFormat.gzip);
>
> Would you mind telling me the source of the data? When I do get around
> to it, I want to have a good dataset to test things against, and would
> be good to use what others reach for.
>
> -Steve
Hi Steve,
thanks for looking into this.
I use data from nist.gov, the Makefile includes these download instructions:
curl -s
https://static.nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-2011.json.gz >
out/nist/2011.json.gz`
--
Christian Köstlin
More information about the Digitalmars-d-learn
mailing list