Re: Number of uses per value ?



Pertti,

Does anyone know of papers with statistics of how many times values
are used in real programs? I know transient values (single use) have
received plenty of attention, but I would be interested in more
general results. -- Pertti

If you mean number of times values appear in source code, then see
Figure 331.1 for floating exponent values, Table 331.1 for dynamic
range of floating-point values, Figure 820.1 for integer constants,
Figure 878.1 for character constants, and many more statistics
besides in http://www.coding-guidelines.com/cbook/cbook1_0b.pdf

The books main web page is at: www.knosof.co.uk/cbook/cbook.html

.