r21125 - gnucash/trunk/src/libqof/qof - Fix weird include

Geert Janssens janssens-geert at telenet.be
Mon Aug 8 10:32:20 EDT 2011


On maandag 8 augustus 2011, Christian Stimming wrote:
> Hi Geert,
> 
> I can answer the question why the qofmath128.c file was included directly
> in gnc-numeric.c: The hope of the author at the time was that the compiler
> will inline a bunch of those functions. They are used most extensively in
> this gnc- numeric.c file and almost nowhere else. Hence, the author
> thought it were a good idea to include the C code there so that the
> compiler will inline as much of the calculation functions as possible.
> 
> I think this does make some sense.
> 
> Regards,
> 
> Christian

Thanks for clarifying this. I have added your comment in the source file 
itself to prevent future questions about this.

Geert


More information about the gnucash-devel mailing list