
22 Dec
2007
22 Dec
'07
9:50 a.m.
On 23/12/2007, Peter Verswyvelen
Cristian Baboi wrote
Lazy constant in C: int C1 (){ return 7; }
Not really, this is not lazy, since it always recomputes the value "7".
Actually GCC will happily optimise this away in almost all cases. -- - Jeremy Apthorp