Efficient Method for Creating CSV String from Lists/SortedLists C#?

后端 未结 3 427
伪装坚强ぢ
伪装坚强ぢ 2021-01-27 13:54

I have an application which implements Asynchronous SOAP. Every 50-100ms I will receive data which is converted into a SortedList object. I als

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 14:26

    I agree with answer from Conrad - yet one more idea to improve performance would be to do reverse lookup i.e. take each element from SortedList and do lookup in other list (of course, I would recommend to have dictionary instead of list for faster lookup).

提交回复
热议问题