← Back to team overview

ffc team mailing list archive

Patch for optimizer.py

 

Hello,

Here is a patch for optimize.py. So the code generated for me using the --optimize flag was three times as long and ran twice as slow. I thought it was in part because of all the 0.0 values in the generated code. This patch updates ffc so it doesn't generate all the tmp = 0.0 lines.

Alas it really didn't fix my runtime problem. I would be interested to know if people have gotten any speed up with this flag or not.

Thanks,
Andy

--

====================
Andy Terrel
Computer Science Dept
University of Chicago
aterrel@xxxxxxxxxxxx
---------------------

Men are equal; it is not birth but virtue that makes the difference.
                                           -Voltaire

Attachment: ffc-andy-2007-01-20.hg
Description: Binary data


Follow ups