摘要: 泛型缓存比 字典 效率高好几百倍,因为是jit事先编译好的 /// <summary> /// 每个不同的T都会生成一份不同的副本 /// 适合不同类型,需要缓存一份数据的场景,效率高 /// </summary> /// <typeparam name="T"></typeparam> publi 阅读全文
posted @ 2020-05-04 14:58 谁说程序猿很猥琐 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1、https://devblogs.microsoft.com/dotnet/building-c-8-0/ 2、https://www.cnblogs.com/springsnow/p/11046251.html <PropertyGroup> <LangVersion>8.0</LangVer 阅读全文
posted @ 2020-05-04 10:06 谁说程序猿很猥琐 阅读(473) 评论(0) 推荐(0) 编辑