[Zope-dev] Zope reference counts
Toby Dickenson
tdickenson@geminidataloggers.com
Wed, 22 Jan 2003 11:57:20 +0000
On Wednesday 22 January 2003 11:43 am, Ivo van der Wijk wrote:
> > > Do these
> > > references point to the same object instances, or are these copied
> > > as well?
> >
> > They are independant copies
> Why exactly is this? concurrency issues?
Yes.
> Is there a
> way to optimize this?
1. Obviously, use fewer threads. Do you have a component that otherwise=20
benefits from many threads?=20
2. If you have large immutable state that does not hold references to=20
persistent objects, use application-specific code to share this state bet=
ween=20
threads.=20
> I assume it's an issue on the ZODB level?
yes
--=20
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson