help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Multiple Worlds in GNU Smalltalk
Date: Sun, 19 Jun 2011 15:31:09 +0200

On Wed, Jun 15, 2011 at 21:19, Gwenael Casaccio <address@hidden> wrote:
>> 293 987 770 (in _gst_interpret)
>> 53% of time of execution is spent in __tls_get_addr
>>
>> It's time to optimize it a bit no ?
>>
>> I was thinking of putting in _gst_interpret some variables at least
>> _gst_mem

You can put all variables in a single struct, and save the address
(&x) of that struct as a local variable in _gst_interpret.  It's also
interesting to try -ftls-model=local-exec.  Pick the fastest of the
two. :-)

Finally, the penalty for static linking ought to be very low.  That's
the limit to which you should aim.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]