Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Hrvoje Niksic <hniksic(a)srce.hr> writes:
> optimize_compiled_function() is supposed to be lazy. Doing all that
> works (and allocating all that data) for a bunch of functions that
> might not get called could be perceived as wasteful.
The CPU work is irrelevant.
Wasteful in memory/disk space, not CPU.
This is dumping time. Anyway, if the function doesn't get used
often, why are dumping it?
Because other functions from the same file might be used often. Or
because the function can get called from C code.