I am confused and would appreciate if you enlighten me. F# uses same CLR as C# and underlying code is identical then how can one suggest that a function runs faster when wr
There could be any number of reasons for code written in one language to be faster than code written in the other, even if they use the same runtime library. However, the .NET runtime library isn't the only runtime library involved. As I understand it, there is a rather large F# runtime library that does things that are F#-specific. The F# compiler knows about that library. The C# compiler doesn't. So the F# compiler can make calls to highly optimized runtime library code that the C# compiler doesn't have access to.
If they're both using the same set of runtime libraries, then I would expect the programs to be close to the same, but not exact. The individual compilers could generate more or less optimum code for particular constructs.