[rucksack-devel] Et tu, prevalence?
Arthur Lemmens
alemmens at xs4all.nl
Fri May 19 19:55:27 UTC 2006
Nikodemus wrote:
> The reason why I think it is important to have them as separate metaclasses
> (with their own root-classes) is that they will have somewhat different
> semantics.
>
> * holding on to a reference to a prevalent-object outside a
> transaction is not a problem.
>
> * reading a slot of a prevalent-object outside a transaction
> could be permitted.
>
> * two prevalent-objects with same object-id's are always EQ.
>
> Making the distinction at class-level makes things easier for
> user-level code, and probably keeps the implementation cleaner too.
OK, fine. So you'll define a different prevalent metaclass, but you
don't assume that one rucksack can contain both prevalent and persistent
object, right? Sounds reasonable to me.
Arthur
More information about the rucksack-devel
mailing list