《Writing High Performance .NET Code》(https://www.writinghighperf.net/)里有一章专门讲这个。在 C# 中,垃圾回收耗费的时间取决于当前仍存活的对象数量。这意味着你希望自己分配的对象生命周期都很短(在……就死掉)
Writing High Performance .NET Code (https://www.writinghighperf.net/) has a chapter on this. In C#, time spent collecting depends on the number of still-living objects. That means you want objects you allocate to be short-lived (dead by…
……正确地使用常见的 idioms。《CLR via C#》——读起来很枯燥,但解答了许多我压根想不到要去问的问题。《C# in Depth》——对 C# 1 到 C# 5 的语言特性覆盖得极其出色。《Writing High Performance .NET Code》——书名就说明了一切。Pluralsight 课程:https://app.pluralsight.com/library/courses/csharp-applying-... ——非常棒地讲解了程序设计中“函数式核心/命令式外壳”(functional core/imperative shell)的方法……
…the usual idioms properly. CLR via C# - this is a dry read but has answers to many questions I would have never thought to ask. C# in Depth - excellent coverage of language features from C#1 to C#5. Writing High Performance .NET Code - the title says it all Pluralsight courses: https://app.pluralsight.com/library/courses/csharp-applying-... - excellent coverage of the functional core/imperative shell approach to program design.…
Ben Watson 写的《Writing High Performance .Net Code》
Writing High Performance .Net Code by Ben Watson
《Writing High Performance .NET Code》(https://www.writinghighperf.net/)里有一章专门讲这个。在 C# 中,垃圾回收耗费的时间取决于当前仍存活的对象数量。这意味着你希望自己分配的对象生命周期都很短(在……就死掉)
Writing High Performance .NET Code (https://www.writinghighperf.net/) has a chapter on this. In C#, time spent collecting depends on the number of still-living objects. That means you want objects you allocate to be short-lived (dead by…
……正确地使用常见的 idioms。《CLR via C#》——读起来很枯燥,但解答了许多我压根想不到要去问的问题。《C# in Depth》——对 C# 1 到 C# 5 的语言特性覆盖得极其出色。《Writing High Performance .NET Code》——书名就说明了一切。Pluralsight 课程:https://app.pluralsight.com/library/courses/csharp-applying-... ——非常棒地讲解了程序设计中“函数式核心/命令式外壳”(functional core/imperative shell)的方法……
…the usual idioms properly. CLR via C# - this is a dry read but has answers to many questions I would have never thought to ask. C# in Depth - excellent coverage of language features from C#1 to C#5. Writing High Performance .NET Code - the title says it all Pluralsight courses: https://app.pluralsight.com/library/courses/csharp-applying-... - excellent coverage of the functional core/imperative shell approach to program design.…