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

Re: Multiple post(inc|dec)rement

Thread Previous | Thread Next
January 17, 2001 15:38
Re: Multiple post(inc|dec)rement
Message ID:
Johan Vromans <> writes:
>Stephen McCamant <smcc@CSUA.Berkeley.EDU> writes:
>> IMHO, pp_pre(inc|dec) were written the way they are now for a reason
>> (namely efficiency), and it isn't worth slowing them down just to make 
>> some pathological examples more intuitive.
>And, my dear Stephen, how much is the slowdown for an average Perl

I agree with Stephen - I use ++ a lot and messing with temporaries 
has more cost than you would expect.

>-- Johan
Nick Ing-Simmons

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