Re: loading many objects from one query

[prev] [thread] [next] [Date index for 2004/09/14]

From: Perrin Harkins
Subject: Re: loading many objects from one query
Date: 16:12 on 14 Sep 2004
Tim Bunce wrote:
> The existing object index does not avoid having duplicates of the
> same object in memory if those duplicates are created via sth_to_objects.

Are you sure about that?  sth_to_objects calls _ids_to_objects which 
calls construct which calls _init which is where the index gets checked 
for an existing version of the object.  Am I missing something?  It will 
go to the database, but it shouldn't create multiple objects of the same 
class with the same primary key.

- Perrin

(message missing)

loading many objects from one query
Andrew Pimlott 01:05 on 14 Sep 2004

Re: loading many objects from one query
Perrin Harkins 02:22 on 14 Sep 2004

Re: loading many objects from one query
Tim Bunce 09:09 on 14 Sep 2004

Re: loading many objects from one query
Perrin Harkins 14:21 on 14 Sep 2004

Re: loading many objects from one query
Tim Bunce 16:07 on 14 Sep 2004

Re: loading many objects from one query
Perrin Harkins 16:12 on 14 Sep 2004

Re: loading many objects from one query
Andrew Pimlott 23:05 on 14 Sep 2004

Re: loading many objects from one query
Perrin Harkins 23:22 on 14 Sep 2004

Re: loading many objects from one query
Todd Lorenz 16:13 on 14 Sep 2004

Re: loading many objects from one query
Tim Bunce 13:52 on 15 Sep 2004

Re: loading many objects from one query
Perrin Harkins 15:22 on 15 Sep 2004

Re: loading many objects from one query
merlyn (Randal L. Schwartz) 17:10 on 16 Sep 2004

Re: loading many objects from one query
Andrew Pimlott 19:17 on 16 Sep 2004

Re: loading many objects from one query
Tim Bunce 17:36 on 14 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52