At 11:42 AM 12/22/2001 -0500, Jason Gloudon wrote:
>Here is a big diff that removes the interpreter argument from vtable function
>calls, and creates macros for obtaining the pointer to an interpreter 
>structure
>for the current thread from thread local storage, assuming only that there is
>one interpreter per thread. It works on unixish systems with pthread, on
>mswin32, and systems with no threading (using a global variable). There is no
>code here for creating threads etc., this is just intended to eliminate
>gratuitous passing of the interpreter pointer to places it is not needed.
>Currently it gives a small but consistent increase in the PMC mops figure of
>about 5 percent.

Thanks--I'll look at this and apply it, I think. (and 5% is definitely 
anything but small...)

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to