[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
New Model structure
- To: <mark>
- Subject: New Model structure
- From: Eric Dean Tribble <tribble>
- Date: Sat, 28 Oct 89 18:45:26 PDT
- Cc: <xtech>
- In-reply-to: <MarkS.Miller'smessageofFri>,16 PDT <8910280123.AA10344@xanadu>
hasDependents() - return true if there are any dependents.
Why is this message needed?
Optimization. So the model doesn't have to create an update record
unless it actually has to broadcast changes. We won't use this
immediately, but it will likely be important for heavily used model
types like Tables.
Necromancers should go away and have their functionality subsumed by
the dependents mechanism. This will make the code much less
For the mechanics out there, should the dependents be a set or a bag?
A Set. (Am I a mechanic?)
Yes. Why should it be a set? (I'm neutral, but I want a reason to go
one way or the other).