I tried this on my machine, and also tried the equivalent code in
Smalltalk/V for Win32:
x := 0.0.
1000000 timesRepeat: [x := x + 1.0]
The C version, running in a DOS window under Windows 3.1, executed in
about 4 seconds. The Smalltalk code ran in 14 seconds. That's a factor
of between 1/3 and 1/4 the speed of the C version---Certainly within
your criterion of 1/10.
Chris
-- Chris Winemiller Internet: cwinemil@lobby.ti.com Texas Instruments clw@works.ti.com PO Box 655012 M/S 3635 Dallas, TX 75265 Voice: (214) 917-0332