On Wed, Jun 15, 2011 at 21:19, Gwenael Casaccio <[email protected]> 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 _______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
