Created
June 24, 2014 09:09
-
-
Save ninegrid/3445ea2041ee0a1452d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#time | |
(fun _ -> | |
let initial = | |
seq { for x = 0 to 100 do | |
for y = 0 to 100 do | |
if (1 < x) && (x < y) && ((x + y) < 100) then | |
yield (x,y) } | |
Seq.iter (fun _ -> ()) initial | |
)() | |
// Real: 00:00:00.004, CPU: 00:00:00.006, GC gen0: 0, gen1: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment