Feature #1695
Feature #1692: optimize/rewrite common expression idioms
evaluate certain constant expressions at conversion time
Start date:
Due date:
% Done:
0%
Estimated time:
8.00 h
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
History
#1 Updated by Eric Faulhaber over 13 years ago
Examples:
- array dereferencing: constant array indices can be decremented by 1 instead of written as an expression
- arithmetic expressions:
3 + 1 * 2would be converted to the literal8 - string concatenation:
"Hello " + "World"would be converted to"Hello World"
#2 Updated by Greg Shah over 13 years ago
- Target version set to Code Improvements
#3 Updated by Greg Shah over 9 years ago
- Target version changed from Code Improvements to Converted Code Improvements - Deduplication