RegEx, StringBuilder and Large Object Heap Fragmentation

后端 未结 3 2176
悲&欢浪女
悲&欢浪女 2021-02-02 01:28

How can I run lots of RegExes (to find matches) in big strings without causing LOH fragmentation?

It\'s .NET Framework 4.0 so I\'m using StringBuilder so it

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-02 01:54

    You can do your job in an AppDomain that is unloaded at some points in time?

提交回复
热议问题