develooper Front page | perl.perl5.porters | Postings from January 2001

Re: Multiple post(inc|dec)rement

Thread Previous | Thread Next
Simon Cozens
January 17, 2001 11:52
Re: Multiple post(inc|dec)rement
Message ID:
On Wed, Jan 17, 2001 at 08:43:54PM +0100, wrote:
> >                                                             Slowing
> > Perl down isn't going to unconfuse them.
> Bleh. Unquantified statements of slowing down things are usually political
> arguments. 

Not at all; I'll qualify it, if you like: a fix to this so-called problem
*could* be implemented, as I have proved, but it requires the copying of an
extra SV every time post increment or decrement is used. This would affect not
just the extremely rare (currently non-existent due to its undefined
semantics!) case of multiple side-effect statements, but every single time the
operator is used. Hence, it would be a net pessimisation for a questionable
gain. Plus it defines a semantic, removing a degree of optimisation freedom.

Still keen on it?

Skud's Law: The surreality of the universe tends toward a maximum.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About