Comparison of LINQ expressions and compiler APIs