From: Glenn Parker Date: 2005-03-24T00:58:34+09:00 Subject: Re: method_missing & combinatorics Glenn Parker wrote: > > If you run the benchmark I posted, you should note that the speedup > between the first and second tests is fairly small, while the difference > between the first two tests and the third one is significant. The first > test generates and evals a non-recursive method, then calls it. The > second test just calls the method created during the first test. The > third test calls a recursive version of the same algorithm. Oops, I forget I changed the order of the tests before I posted it. First test is recursive, second test is eval and call non-cursive, third test is just call non-recursive. So, they get faster at each step. -- Glenn Parker | glenn.parker-AT-comcast.net |