-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Neil Schemenauer wrote: > Jesus Ceawrote: >> What am I missing there?. > > The fringe objects must be in the GHOST state. The state pickle > could be cached but in practice it's not really helpful. Ghosts are > normally created by unpickling the state of an object that > references them. The root object is generally the only object which > requires two loads. I see. Verified that "usually" only a fetch is done. Thanks for the clarification. So when I load in memory an object with references to 1000 other persistent objects, 1000 ghost instantes are created. Is that right?. I'm seeing the code and can't find where those objects are created. Unless the "ghosted" instances are keept in the pickle of the parent object, that is. I'm a bit lost is such a low level view. I would appreciate a low level description of object loading, in english. For example: How can you garantee that if you already have the object in memory, the ghost creation takes that instance from cache?. Where in the code is that done?. Where exactly in the code are referenced ghost objects created?. Thanks in advance. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBREzfZplgi5GaxT1NAQJMkgQAouO7tEkIFy78hS5zldl0/zmgw8vsSuLa WwT6Rz7niTCOJnO7OpuQsQRPtfup6TvZHO8MucqVW6YB6JBHRjlZluPg5lP43FM9 ifqFy8UZNc6vYnFG3Dewh+ZmiAxEGRON4ITujRZL/Ke1pj5kzcEhCE5Asddwor73 IF/fuKA6KFU= =EXQr -----END PGP SIGNATURE-----