On 3/14/21 9:36 PM, sharkloc wrote:
I want to read the content(file.gz) line by line,the following code is
not friendly to large files of hundreds of Gb, and the memory overhead
is also very large.
import std.stdio;
import std.process;
import std.string;
void main(string[] args){
On Monday, 15 March 2021 at 01:36:08 UTC, sharkloc wrote:
I want to read the content(file.gz) line by line,the following
code is not friendly to large files of hundreds of Gb, and the
memory overhead is also very large.
You can use the internal zlib instead of a shell. This example is
using
I want to read the content(file.gz) line by line,the following
code is not friendly to large files of hundreds of Gb, and the
memory overhead is also very large.
import std.stdio;
import std.process;
import std.string;
void main(string[] args){
string fileName = args[1];