The cost of creating Expression Trees


First, merry xmas etc. etc.. Second – expression trees. I just wanted to post a short blog about the actual cost of creating trees that can be illustrated by comparing the following two code samples: - See the difference? Rather than creating the expression inline of the for loop (Sample A), we create it once … Continue reading The cost of creating Expression Trees

Advertisements

Performance or readability with Expression Trees in C#


I was fumbling around trying to create some expression trees on Friday and was working through some stuff with a colleague of mine (someone who actually knows how to do it better than me!) and I got to thinking about the characteristics of different ways of doing the same things in C# with respect to … Continue reading Performance or readability with Expression Trees in C#