improving python performance by extension module (64bit)
Nobody
nobody at nowhere.com
Sat Jun 26 07:11:08 EDT 2010
On Fri, 25 Jun 2010 20:08:27 -0400, geremy condra wrote:
> I have written Haskell that runs faster than C, and Forth that runs
> faster than C,
Faster than *what* C, though?
With Haskell, there's seldom a significant performance hit for using
-fvia-C, so you would probably have been able to get comparable
performance using C.
The most common reason for Haskell to outperform C is due to lazy
evaluation, i.e. the C code evaluates things which it doesn't actually
need to.
More information about the Python-list
mailing list