Front page | perl.perl6.internals |
Postings from February 2001
Re: PDD 2, vtables
From:
Nicholas Clark
Date:
February 7, 2001 08:37
Subject:
Re: PDD 2, vtables
Message ID:
20010207163751.F63724@plum.flirble.org
On Wed, Feb 07, 2001 at 04:03:49PM +0000, David Mitchell wrote:
> BTW, should the vtable include all the mutator operators too, ie
> ++, += and so on, on the grounds that an implementation may be able
> do this more efficiently internally?
++ and -- are already slightly messy in perl5
pp_preinc, pp_postinc, pp_predec and pp_postdec live in with all the ops.
They know how to increment and decrement integers that don't overflow,
and call routines in sv.c to increment and decrement anything else.
Actually, this nearly provides a divide between values and operators
that has been suggested, with the speed up hack for the common case.
Nicholas Clark
-
Re: require < 6.x
by Brent Dax
-
PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by Branden
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by Nicholas Clark
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Simon Cozens
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Edwin Steiner
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Tim Bunce
-
Re: PDD 2, vtables
by Branden