The compiler in OpenAxiom-1.3.0 and higher now supports the command
line option 

    --optimize=n

where n is a natural number indicating a level of optimization.
Currently, we have
   n = 0 => no optimization
   n = 1 => inline simple functions
   n = 2 => fold references to exported functions defined 
             in the current domain

The algebra is built with --optimize=2.


If you invoke the compiler from the interpreter, you can specify the
optimization level as

     )optimize n

e.g.

    )co foobar.spad )optimize 2

Please test and report problems (or speedups :-)


More optimizations will be implemented as time permits.

-- Gaby

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to