Cost of Squeak

Bert Freudenberg bert at impara.de
Wed Nov 17 09:48:06 UTC 2004


I guess using the "inline" keyword would perform much better than 
automatic inlining?

- Bert -

Am 17.11.2004 um 03:28 schrieb John M McIntosh:

> Ok, if you use "-finline-limit=20000 -finline-functions " you get 
> quite a bit inlined, with a bit of hacking to insert the gnuified 
> jumpto logic we
> arrive at a VM that runs at 45% of the normal VM.  I'm sure more can 
> be done outside of my hour or two of fiddling. Mind making it
> run 2x faster to  match the existing VM could be a challenge.
>
>
> On Nov 16, 2004, at 11:29 AM, tim Rowledge wrote:
>
>> Andreas Raab wrote:
>>
>>>> Also, I'm guessing C which is auto-generated (from Slang) will be 
>>>> more
>>>> verbose than hand-crafted C...
>>> Definitely. And don't forget the inliner - it manually inlines 
>>> functions therefore dramatically increasing the LOC count.
>> We really must get around to trying the experiment of using the 
>> inline function spec for the C compiler to see if it works better. 
>> GCC & RISC OS CC do it so that covers about all the bases.
>>
>> tim




More information about the Squeak-dev mailing list