Matt Warren 6/10/2014

Roslyn code base - performance lessons (part 2)

Read Original

This technical article analyzes specific performance lessons from the Roslyn .NET compiler codebase. It details how to minimize garbage collector workload by avoiding allocations in hot paths, citing examples like avoiding LINQ, foreach over non-struct enumerators, and using object pools. The post emphasizes measuring bottlenecks and annotating optimizations, providing concrete code examples from the Roslyn project.

Roslyn code base - performance lessons (part 2)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week