Does FOR_C perform any optimizations?
FOR_C does a number of optimizations for code readability. For example, the common translation is generated only once in a file as long as it remains unchanged in subsequent usage. The same applies for parameters. Our C code generation logic is very detailed and it produces very readable, clean C code, e.g. there are five (5) variations of the do loop translation. Similarly, there are countless translations of the initialization and data statements. FOR_C also offers options for more traditional optimizations. These include optimizations to eliminate unused variable and function names, optimizations of assignments using the C +=, -=, x= and /= operators, for tighter code. More elaborate and traditional optimizations, we feel, are best left to the compiler. Most of our users get uncomfortable when their original code is overly rearranged.