On Nov 25, 2007 10:51 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > But generally, Python is like 200 slower than C++ in my experience, so > this is what has to be expected.
I'd say it's closer to 20x slower for most code. (In fact, the Computer Language Benchmarks Game lists Python as 17x slower than C++ on average.) There gap is larger for number crunching, but symbolic computing doesn't suffer so badly since operations like comparions and slicing can be delegated to Python built-in functions. Did anyone compare sympycore with a C/C++ computer algebra system yet? IIRC we compared some operation to Maxima and sympycore was 7x or so slower. Fredrik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
