[Prev][Next][Index][Thread]

Fun-O Basic Edition Compiler



>>>>> "Raffael" == Raffael Cavallaro <raffael@mediaone.net> writes:

    Raffael> Is there something I'm missing? I would think that the
    Raffael> compiler would have all the information it needs to
    Raffael> optimize Tak, since it's defined as taking 3 <integer>
    Raffael> args and returning an <integer>. Does the Basic Edition
    Raffael> not do certain optimizations?

    Raffael> I've been led to believe that Tak is a pure function call
    Raffael> benchmark, and, as I assume that any Dylan implementation
    Raffael> would be doing lots of function calls, it should be
    Raffael> pretty speedy - at least as speedy as a Common Lisp
    Raffael> compiler.

    Raffael> Anyway, please let me know what I'm doing wrong. 

The Dylan Playground compiles stuff optimized for interactive
development.

If you want to do benchmarking I suggest that you create a project and
ensure that the compilation mode is "production".

Once you done that you can use the compiler's code colouring to
improve the efficiency of your code by supplying extra type
information, etc.

__Jason



Follow-Ups: References: