in reply to Re: Increasing the efficiency of the code
in thread Increasing the efficiency of the code
You have a good idea and yes, it will lead to a performance increase. Unfortunately your implementation is less than desireable. Using a string eval can be very dangerous and should be avoided when better alternatives exist. In this case, a dispatch table is better suited. See my post below for an example.
Cheers - L~R
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Increasing the efficiency of the code
by Fengor (Pilgrim) on Nov 29, 2006 at 13:20 UTC |