Last active
August 29, 2015 14:02
-
-
Save ninegrid/b6f8f7d93aaa0c6209da 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 = | |
[for x = 0 to 100 do | |
for y = 0 to 100 do | |
if (1 < x) && (x < y) && ((x + y) < 100) then | |
yield (x,y)] | |
List.iter (fun _ -> ()) initial | |
)() | |
// Real: 00:00:00.005, 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