Re: Design question - Sharing of single object by multiple processes

2008-01-31 Thread Steve Holden
Mike D wrote: > Steve, > > You raise some very good (and obvious) issues I did'nt consider. I'll > look further into this sort of implementation as I'm quite interested. > > I suppose a compromise could be to load the objects from a pickle, that > may have issues in terms of updating the pickle

Re: Design question - Sharing of single object by multiple processes

2008-01-31 Thread Mike D
Steve, You raise some very good (and obvious) issues I did'nt consider. I'll look further into this sort of implementation as I'm quite interested. I suppose a compromise could be to load the objects from a pickle, that may have issues in terms of updating the pickle perhaps, though it would be m

Re: Design question - Sharing of single object by multiple processes

2008-01-31 Thread Steve Holden
Mike D wrote: > Steve, > > Thanks for the response. My question really comes down to, as you > suggested, premature optimization. > > It is more for my own understanding than a current practical use. > > If an object is loaded into memory and other threads(or processes) can > recieve a pointer

RE: Design question - Sharing of single object by multiple processes

2008-01-31 Thread Mike D
Steve, Thanks for the response. My question really comes down to, as you suggested, premature optimization. It is more for my own understanding than a current practical use. If an object is loaded into memory and other threads(or processes) can recieve a pointer to this location, would this not

Re: Design question - Sharing of single object by multiple processes

2008-01-31 Thread Steve Holden
Mike D wrote: > Hello, I've just picked up the Python language and am really enjoying it. > > I've just signed up to this mailing list and I'm looking forward to > taking part in some discussions. > > My first post is a question I've been pondering for the last couple of days: > > For relativel