Re: Why are intepreters so slow today

Wayne Throop (throopw%sheol@concert.net)
Sat, 16 Apr 1994 19:01:14 GMT

: From: lwall@netlabs.com (Larry Wall)
: Everything is still done in floating point, however. Ask me
: again after I've implemented "pragma integer". :-)

Larry's comment is ensmilied, but seriously: my investigations into
interpreter performance bottlenecks indicate that pragma integer won't
get you much at all if the basic expression overhead is still 1/30 or
so. Out of that 30-times-slower, the actual float-that-could-be-int
calculations are (I estimate) maybe 2 or 3 of the 30 times.

Of course, if in reacting to "pragma integer" Larry meant that he'd use
a completely different, leaner, meaner, embedded expression interpreter
for *all* operations, including looping and such... well then, as Emily
Litella said..... "Nevermind".

--
Wayne Throop   throopw%sheol@concert.net
               throop@aur.alcatel.com