Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » C# » Performance   (RSS)

Adventures in F#--Tail Recursion in Three Languages

Jomo Fisher—Here’s the F# I'm looking at today: #light let rec f n = do printf "%d\n" n f (n+1) f 1 This defines a recursive function 'f' that takes a value 'n' as a parameter. This function prints the value of n to the console and then calls itself with
Posted by Jomo Fisher | 12 Comments
Filed under: , , ,

Probing a Hidden .NET Runtime Performance Enhancement

Jomo Fisher--Matt Warren once told me that the runtime had a performance optimization involving calling methods through an interface. If you only had a small number of implementations of a particular interface method the runtime could optimize the overhead
Posted by Jomo Fisher | 8 Comments
Filed under: ,

LINQ to SQL Beta2 Performance Numbers and the Dynamic Compilation Pattern

Jomo Fisher--Rico Mariani has been posting about LINQ to SQL perfomance and has finally posted the performance numbers for Beta2: http://blogs.msdn.com/ricom/archive/2007/07/05/dlinq-linq-to-sql-performance-part-4.aspx One of the tricks Rico and Matt

Fast Switching with LINQ

Jomo Fisher—I’ve run into a performance problem several times in my career that I’ve never found a truly satisfying answer for until now. The problem can be distilled down to this: Look up a value based on a string key. The set of strings is fixed and
Posted by Jomo Fisher | 33 Comments
Filed under: , ,

Attachment(s): SwitchCompiler.cs
 
Page view tracker