in reply to Re: When should I use a dispatch table?
in thread When should I use a dispatch table?
chromatic,
In private /msg with madbombX I made this very point. When benchmarking it is important to eliminate as many factors unrelated to what you are testing as possible. In my benchmark generating code however, no IO comes into play (that I can see anyway). This is strictly determining the difference between a series of equality tests (linear search) and a hash lookup, reference dereference, and nearly empty sub execution.
In private /msg with madbombX I made this very point. When benchmarking it is important to eliminate as many factors unrelated to what you are testing as possible. In my benchmark generating code however, no IO comes into play (that I can see anyway). This is strictly determining the difference between a series of equality tests (linear search) and a hash lookup, reference dereference, and nearly empty sub execution.
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: When should I use a dispatch table?
by chromatic (Archbishop) on Dec 01, 2006 at 01:28 UTC | |
Re^3: When should I use a dispatch table?
by diotalevi (Canon) on Dec 01, 2006 at 03:37 UTC | |
by Limbic~Region (Chancellor) on Dec 01, 2006 at 13:35 UTC |
In Section
Meditations