in reply to Re: Re: Incrementing a Hash Value
in thread Incrementing a Hash Value
This bit, in particular, could easily be changed with a small cahnge to the optimizer, or optree generator. That it hasn't happened is mainly because nobody's bothered. (Well, because that part of the code's reasonably scary) Because of the way that perl works internally, both the pre and post increment versions of that code could easily resolve to 6.
Trust Abigail here. Don't count on the behaviour of multiple manipulations to a variable without an intervening sequence point.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Incrementing a Hash Value
by Juerd (Abbot) on Jun 14, 2002 at 19:15 UTC | |
by Elian (Parson) on Jun 14, 2002 at 19:47 UTC |