In implementing a WrapFactory I noticed that objects were being wrapped
multiple times (probably every time accessed). This thread:

http://www.mail-archive.com/[email protected]/msg00468.html

is a discussion of caching the wrapped objects. It uses terms like "weak
reference" which scares me, I'm likely to produce a memory issue. I'm
wondering if it would help performance or if the reflection lookup work is
already being cached. IOW, is caching at the WrapFactory worth the
performance improvement, if any?

Thanks.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to