[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: [zzdev] Re: [zzdev] Re: [zzdev] Re: [zzdev] Re: [zzdev] Notes on accessing past versions
- To: ZZ Development <zzdev@xxxxxxxxxx>
- Subject: Re: [zzdev] Re: [zzdev] Re: [zzdev] Re: [zzdev] Re: [zzdev] Notes on accessing past versions
- From: Benjamin Fallenstein <b.fallenstein@xxxxxx>
- Date: Thu, 01 Mar 2001 16:53:36 +0100
- References: <20010223114609.A18335@xxxxxxxxxxx> <3A96DA92.FA0032F4@xxxxxx> <20010224115918.A32572@xxxxxxxxxxx> <3A9D5D73.9F2FC98@xxxxxx> <20010301161215.G25394@xxxxxxxxxxx>
Antti-Juhani Kaijanaho wrote:
> It's perfectly possible to implement that within the space part. Since
> the old-version wrapper cells are their own subclass of ZZCell, I can override
> s, connect and disconnect. And I just did that. Since the versioning support
> is experimental, the new code is activated only if the -versioneddims switch is
> specified on the command line. (Eventually, if the feature is seen to be working
> fine, it should become the default.)
Oh, alright. I didn't think of that trick.
One catch: Cell c is a normal cell, cell v is from an old version.
Suppose you do:
c.connect("d.1", v)
After that, wouldn't c.s("d.1") give v, but v.s("d.1", -1) not? That
violates the ZigZag principle, which is a bad idea.
-b.