Skip to content

Instantly share code, notes, and snippets.

@vasily-kirichenko
Last active May 27, 2016 18:08
let foo x = struct (x, Math.Sin x)
...
for n in 1..100000000 do
let struct (x, sinx) = foo (float n / 1000.)
...
// Debug
// Run: 00:00:03.5127102
// GC.Collect 2: 00:00:00.0001495
// Release
// Run: 00:00:00.3443932
// GC.Collect 2: 00:00:00.0000796
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment