On Wed, Mar 17, 2010 at 11:59 AM, Rick McGuire <object.r...@gmail.com> wrote:
> On Wed, Mar 17, 2010 at 2:57 PM, Mark Miesfeld <miesf...@gmail.com> wrote:

>> In the ooDialog code I use a technique where I use the
>> RequestGlobalReference() API to stash copies of these objects in some
>> global variables in the ooDialog code. I do that because those objects
>> are used so much in the code and this way there is not a request to
>> the interpreter kernel to pass the objects over each time.
>
> Really not necessary.  References to these objects are stored directly
> in the interface vector, so
> there's no need to cross that boundary each time.  They are already
> getting cached for you.

Oh - thanks Rick.  I was just assuming that Nil() True(), etc. were
grabbing the kernel lock each time.  I should have looked closer.

--
Mark Miesfeld

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to