Re: exhaustive switch bound checking
- From: adebaene@xxxxxxxxxxxxxxxx
- Date: 26 Jun 2006 04:19:17 -0700
Artem Alimarine a écrit :
Alexander Grigoriev wrote:
Does it pose a particular problem? Does it create a measured performance
bottleneck?
Yes, this dispatch is done in a loop. This is the most performance
critical part of the application. So, it will slowdown the performance
noticably. I expect it can eat several percents of performance. In my
case performance is very it is important.
You "expect" but you haven't done any measurement, right? "Premature
optimization is the root of all evil". Do not EVER optimize code
without a factual proof that it is worth optimizing....
Just my 2 cents...
Arnaud
MVP - VC
.
- Follow-Ups:
- Re: exhaustive switch bound checking
- From: Artem Alimarine
- Re: exhaustive switch bound checking
- References:
- exhaustive switch bound checking
- From: Artem Alimarine
- Re: exhaustive switch bound checking
- From: Alexander Grigoriev
- Re: exhaustive switch bound checking
- From: Artem Alimarine
- exhaustive switch bound checking
- Prev by Date: Re: Getting linking Error while accessing dll
- Next by Date: Re: Getting linking Error while accessing dll
- Previous by thread: Re: exhaustive switch bound checking
- Next by thread: Re: exhaustive switch bound checking
- Index(es):
Relevant Pages
|