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

Re: Extending the address space of MIT Cscheme



> Date: Wed, 4 May 88 11:12:23 MDT
> From: shebs <(Stanley T. Shebs)shebs%defun@edu.utah.cs>

> Attempts to optimize the C code implementing a virtual machine.  If
> you use a virtual machine, you've already lost speedwise; doing
> complicated C hacks isn't going to recover much for you. (Presumably
> that's the reason for hundreds of C macros that could have been
> function calls.)

C hacks (if you want to call them that) can make a difference,
particularly (on many machines) if they let you avoid procedure
calls (slow call instructions, parameters moved from registers to
stack and back).  In-line procedures would be better than C macros,
but C doesn't have them.