File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -1319,6 +1319,14 @@ switch (i)
1319
1319
}
1320
1320
--------------
1321
1321
1322
+ $(P $(B Implementation Note:) The compiler's code generator may
1323
+ assume that the case
1324
+ statements are sorted by frequency of use, with the most frequent
1325
+ appearing first and the least frequent last. Although this is
1326
+ irrelevant as far as program correctness is concerned, it is of
1327
+ performance interest.
1328
+ )
1329
+
1322
1330
$(H3 $(LNAME2 case-range, Case Range Statement))
1323
1331
1324
1332
$(GRAMMAR
@@ -1424,13 +1432,6 @@ switch (name)
1424
1432
less error prone. `char`, `wchar` and `dchar` strings are allowed.
1425
1433
)
1426
1434
1427
- $(P $(B Implementation Note:) The compiler's code generator may
1428
- assume that the case
1429
- statements are sorted by frequency of use, with the most frequent
1430
- appearing first and the least frequent last. Although this is
1431
- irrelevant as far as program correctness is concerned, it is of
1432
- performance interest.
1433
- )
1434
1435
1435
1436
$(H2 $(LEGACY_LNAME2 FinalSwitchStatement, final-switch-statement, Final Switch Statement))
1436
1437
You can’t perform that action at this time.
0 commit comments