in reply to Re^2: Benchmarking A DB-Intensive Script
in thread Benchmarking A DB-Intensive Script
If you select random keys from a hash, then delete the keys you pick, you'll progressively reduce your options and never hit a repeat. It doesn't seem significant to your use that you allow for re-selection of previously examined items, so remove them from the pool of future options. Otherwise it will become harder and take longer to find good pairs, instead of quicker.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Benchmarking A DB-Intensive Script
by tilly (Archbishop) on Mar 14, 2006 at 22:29 UTC | |
by blogical (Pilgrim) on Mar 15, 2006 at 05:04 UTC | |
|
Re^4: Benchmarking A DB-Intensive Script
by bernanke01 (Beadle) on Mar 14, 2006 at 21:45 UTC | |
by blogical (Pilgrim) on Mar 15, 2006 at 04:54 UTC |