How to read a csv file one line at a time and replace/edit certain lines as you go?

前端 未结 3 1624
盖世英雄少女心
盖世英雄少女心 2021-02-02 01:41

I have a 60GB csv file I need to make some modifications to. The customer wants some changes to the files data, but I don\'t want to regenerate the data in that file because it

3条回答
  •  借酒劲吻你
    2021-02-02 01:55

    memory-mapped files is a new feature in .NET Framework 4 which can be used to edit large files. read here http://msdn.microsoft.com/en-us/library/dd997372.aspx or google Memory-mapped files

提交回复
热议问题