I looked at this link. Will it be optimized and wondered how we can know which optimizations are performed by a particular compiler.
Like VC8.0 convert if-else statements to switch-case? Is such information available in msdn?
Since everyone seems to be keen to tell the OP that he should not worry about this, there are some useful, albeit not as specific as the requested OP) compiler optimization information (parameters).
, , MSVC Intel ( GCC -O2), :
, , .
, .
, , . , , .
VC8.0, , . , , , LLVM. , -, C , , , . , , , , , , .
VC8.0 if-else switch-case?
. , ? , , - , . , .
: switch-case , . , .
, , , , , .
, ( ) , . , , . , - , . / , , if/else case-switch.
, "convert if/else to switch/case". switch/case.
switch/case. , .
if/else, , , , . , , , , . , .
IIRC, GCC , , . , "" . , (, ).
, , . , V8, V9 V10.
Source: https://habr.com/ru/post/1756160/More articles:Solr SnowballPorterFilterFactory Options and Wildcards - wildcardZend Framework: Application.ini, what does resources.view [] = do? - zend-frameworkBlock diagram 4 for display in POCOs - c #Как я могу надежно вытащить текстовый файл неизвестной кодировки в NSString на iPhone? - iphoneLightweight library for supporting cross-browser events - javascriptWhy is the font size on Safari on Mac OS so much smaller? - cssInstallation problem on a machine with a user profile - windows-installercompile error with qFromBigEndian - c ++How to create a collection based on several IEnumerables - genericsCommunication function failed - c ++All Articles