Re: Netscape 'Spidermonkey' JavaScript bi ndings

David Abrahams <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
Warrick Buchanan <[email protected]> writes:

>> I agree. It is better to use static member data to store the
>> function pointer locally.
>
> To my (current) knowledge this isn't how boost::python currently works is it
> though


Details are missing here, so I may not have the right context, but
yes boost::python uses that technique extensively to avoid expensive
map lookups for converters at runtime.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.