[m-dev.] Re: performance bug
Tyson Richard DOWD
trd at students.cs.mu.oz.au
Tue Jun 17 15:50:37 AEST 1997
> On mercury-bugs, Fergus wrote:
> > There is a bug with intermodule optimization: it is including
> > lots of dead code in the generated .c files, for functions
> > which are defined in other modules but never used.
> > For example, the text size of library/library.o is about 50k, whereas
> > it ought to be less than 1k.
>
> This is caused by using the wrong version of a module_info
> in dead_proc_elim.m.
Hmmm... We should probably be more vigilant in using unique modes to
avoid the sorts of errors.
--
Tyson Dowd #
# Surreal humour isn't eveyone's cup of
trd at cs.mu.oz.au # fur.
http://www.cs.mu.oz.au/~trd #
More information about the developers
mailing list