Changes between Initial Version and Version 4 of Ticket #6000


Ignore:
Timestamp:
Apr 12, 2012 11:02:27 AM (3 years ago)
Author:
simonmar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6000

    • Property Difficulty changed from to Unknown
  • Ticket #6000 – Description

    initial v4  
    11There's a 4 second, unjustified, difference in performance between the following Python fibonacci implementation and it's equivalent Haskell implementation (though the output core seems to be just fine!).
    2 
     2{{{
    33-----PYTHON------
    44def fib(n):
     
    1313if __name__ == "__main__":
    1414    print fib(1000000);
    15 
     15}}}
     16{{{
    1617----HASKELL-------
    1718{-# LANGUAGE BangPatterns #-}
     
    2526
    2627main = fib 1000000 `seq` return ()
     28}}}