J|rgen Bvhm a icrit :
> I would like to pose a very simple question, for which nevertheless I
> could not find an answer through google:
>
> Of what general type is the dependence of the size of compiled code
> to the size of the respective source code?
The answer depends on the source language, on the source code, on the
compiler (with its version), the applied code optimisation methods,
and in which order, etc.
It is pretty unlikely that we can write a unique precise function
describing the relation****p between source code size and low level
code size that takes into account all the parameters above.
The function you are looking for is not linear at all... unless you use
code translators, not compilers...
Compilers apply may code transformations, while code translators only
generate a valid low level code from a source code: this is the usual
behavior of compilers if you do not turn on any compilation switch.
S.T.


|