[LispM-Hackers] slight change to macro op definitions...

James A. Crippen james@UnLambda.COM
Tue, 3 Apr 2001 12:18:28 -0800 (AKDT)


The major benefit of returning void is that GCC will optimize stack
allocation and won't actually push a return value on exit.  There's some
trickery that goes on but if you profile you should see that function
returns take less time.

In essence, having the macroop fns return void is a Good Thing.  All the
macroop stuff should be side-effective.  That's the way generic hardware
works today, so it optimizes well.

'james

-- 
James A. Crippen <james@unlambda.com> ,-./-.  Anchorage, Alaska,
Lambda Unlimited: Recursion 'R' Us   |  |/  | USA, 61.2069 N, 149.766 W,
Y = \f.(\x.f(xx)) (\x.f(xx))         |  |\  | Earth, Sol System,
Y(F) = F(Y(F))                        \_,-_/  Milky Way.