我正在研究一些代码优化,我会检查我的函数的大小,而不是读取巨大的反汇编文件。在Debug上编译后,我使用nm命令读取.o。我们拿到的这款: nm --size-sort $OBJFILEPATH.o
000000000000000b r __PRETTY_FUNCTION__.6473
0000000000000017 t extract_h
0000000000000036 t L_mu
我想从列表 List<string> List = new List<string>();
我用不同的,以避免重复写入文件前执行 : IEnumerable<string> sepStr = List.Distinct();
foreach (string StrExtractToFile in sepStr)
{
using (StreamWriter sw = F