阅读背景:

在节点中读取第n行。没有读取整个文件。

来源:互联网 

I'm trying to use Node.js to get a specific line for a binary search in a 48 Million line file, but I don't want to read the entire file to memory. Is there some function that will let me read, say, line 30 million? I'm looking for something like I'm trying to use Node.js to get a specific lin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: