[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] MiNTLib 0.51
Frank Naumann wrote:
>
> Hi Henk!
>
> > This speeds small functions (with relatively huge call overhead and
> > not very much local variables) immensely up.
> > The effect on the size of the code can be dramatic (in positive sense).
> > Also small functions tend to be called frequently, which multiplies the effect.
>
> Such small functions are inlined from the gcc.
>
Hi Frank.
I thought of that. Has inlining the same effect on the code size of the inlined
procedure body? I could imagine that the combination of inlining and passing
parameters in registers, will increase the beneficial effects. :-)
Remains the nicety of having a call interface that makes it possible to
exchange compiled and tested code between compiling systems.
That makes everybody free in choosing their favourite compiler, independent of
the compiler used to produce a library.
It makes the mintlib easier accessible to a much wider audience.
Greetings
Henk.