Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. c:\coding>ghc test.hs
  2. [1 of 1] Compiling Main ( test.hs, test.o )
  3. Linking test.exe ...
  4.  
  5. c:\coding>test 10000000
  6. "Prelude version"
  7. 90.98579564908658
  8. CPU time: 9.81s
  9. "Vector version"
  10. 90.98579564908658
  11. CPU time: 10.75s
  12.  
  13. c:\coding>ghc test.hs -O2 -- nothing actually happens
  14.  
  15. c:\coding>test 10000000 -O2
  16. "Prelude version"
  17. 90.98579564908658
  18. CPU time: 9.80s
  19. "Vector version"
  20. 90.98579564908658
  21. CPU time: 10.92s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement