in reply to Re^3: Adding Unique Elements to Array
in thread Adding Unique Elements to Array
You can get within 2% by saying
which is still odd (and gives a warning for using uninitialized values), but is at least documented, if your code is bottlenecking at your key-creation section. In the absence of a bottleneck, it is better to write clear code than marginally faster code.@hash{@list} x= 0;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Adding Unique Elements to Array
by ihb (Deacon) on Mar 01, 2005 at 03:19 UTC | |
by Roy Johnson (Monsignor) on Mar 01, 2005 at 03:43 UTC | |
by ihb (Deacon) on Mar 01, 2005 at 21:19 UTC | |
by Roy Johnson (Monsignor) on Mar 01, 2005 at 21:32 UTC | |
|
Re^5: Adding Unique Elements to Array
by RazorbladeBidet (Friar) on Mar 01, 2005 at 13:34 UTC | |
by Roy Johnson (Monsignor) on Mar 01, 2005 at 14:05 UTC |