Fastest Way to Parse Large Strings (multi threaded)

前端 未结 4 1369
独厮守ぢ
独厮守ぢ 2021-02-06 14:27

I am about to start a project which will be taking blocks of text, parsing a lot of data into them into some sort of object which can then be serialized, stored, and statistics

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 15:29

    If you want to do fast string parsing in C#, you might want to consider having a look at the new NLib project. It contains string extensions to facilitate searching strings in various ways rapidly. Such as, IndexOfAny(string[]) and IndexOfNotAny. They contain overloads with a StringComparison argument too.

提交回复
热议问题