[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Perfomance: 'conditional instruction' vs. 'multi
I usually prefer approach 1 because the code is more concise and more
readable / reusable / extensible / customizable.
Performance will depend on the processor. Most processors are likely to do a linear search of the alternatives in both cases, so it's unlikely to make much difference (if you're interested in performance, then measure it!). Some processors may have optimizations for special cases, but I don't think that should influence your choice unless you need to squeeze the last ounce of performance: and if you need to do that, the most effective solution is usually to upgrade your hardware. It's certainly not a case where what's fastest on one processor will be fastest on every processor. Michael Kay Saxonica On 03/11/2012 15:24, Norbert Heidbrink wrote: Hi everybody,
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|