Hi Alex,

> For example, even simple 'if' is implemented as a picolisp fexpr:
>
>    (de if (C . L)
>       (loop
>          (T C (up. '@ @) (eval (car L) 1))
>          (T T (run (cdr L) 1)) ) )

one of the significant factors that are slowing it down is all these
environment lookups like the 'up.' and 'eval' in the above code which
would be eliminated if the function is implemented natively in Java.
And because very little basic functions are in Java, there is
significantly more lisp code which is interpreted compared to your
ErsatzLisp.

Cheers,

Tomas
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to