in reply to Re: Re: RFC - inplace upgrade for Tie::SortHash
in thread RFC - inplace upgrade for Tie::SortHash
Today I decided to start over. I would like to address the points you made on the previous code:
Hmm, im not up for responding completely yet, so you can expect a /msg that this reply has been updated. However, there is one point id like to address:
The code is correct as written. ...
defined $self->[ARRAY][$index] ? $self->[ARRAY][$index] : undef;
Except that its misleading as hell. It is _exactly_ equivelent to
$self->[ARRAY][$index]
Except that it makes a reader wonder what magic specialness is going on, and is marginally slower. If nothing special is happening then it should be changed to the latter IMO
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: RFC - inplace upgrade for Tie::SortHash
by Limbic~Region (Chancellor) on Sep 05, 2003 at 17:01 UTC | |
by demerphq (Chancellor) on Sep 05, 2003 at 22:26 UTC | |
by Limbic~Region (Chancellor) on Sep 05, 2003 at 22:38 UTC |