Re: [PATCH] to support mere pmcs as keys

2004-02-10 Thread Stéphane Payrard
On Tue, Feb 10, 2004 at 12:53:43AM +0100, Leopold Toetsch wrote: > Hi Stef, Hi Leopold, I cross-post to perl6-internals because I am not sure about the exact semantic of hash and array access in Perl6. > > Stéphane Payrard <[EMAIL PROTECTED]> wrote: > > > Le Mon, Feb 09, 2004 at 09:52:28PM +01

Re: [PATCH] to support mere pmcs as keys

2004-02-09 Thread Leopold Toetsch
Hi Stef, Stéphane Payrard <[EMAIL PROTECTED]> wrote: > Le Mon, Feb 09, 2004 at 09:52:28PM +0100, le valeureux mongueur > Leopold Toetsch a dit: Trop long d'introduction. Pas de valeur. [ precise summary snipped ] >P3 = PO[P1]# regular keyed access without flag ># set a flag in P1

Re: [PATCH] to support mere pmcs as keys

2004-02-09 Thread Stéphane Payrard
Le Mon, Feb 09, 2004 at 09:52:28PM +0100, le valeureux mongueur Leopold Toetsch a dit: > Stéphane Payrard <[EMAIL PROTECTED]> wrote: > > > The implementation of the methods key_* in keys.c imposed > > to the PMCs to be of type Key. I don't' see the interest > > for atomic keys that could be mere

Re: [PATCH] to support mere pmcs as keys

2004-02-09 Thread Leopold Toetsch
Stéphane Payrard <[EMAIL PROTECTED]> wrote: > The implementation of the methods key_* in keys.c imposed > to the PMCs to be of type Key. I don't' see the interest > for atomic keys that could be mere PMCs. > This concretely means that one can write the following and save a > intermediate registe

[PATCH] to support mere pmcs as keys

2004-02-09 Thread Stéphane Payrard
The implementation of the methods key_* in keys.c imposed to the PMCs to be of type Key. I don't' see the interest for atomic keys that could be mere PMCs. This concretely means that one can write the following and save a intermediate register: P3 = PO[P1] instead of: P3 = new P2, .Key