Re: Tips to compile very very giant code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Bento Borges Schirmer:

> [3] https://github.com/bottle2/swf2c/blob/88f9ccb7912d55002e87f1efb11f21720d97e4ec/tests/thousands-of-functions.c

You should turn L and B into proper functions instead of macros, then
compilation time will decrease significantly.  If compilation time is
still too high, consider adopting a table-based approach.

> [4] https://github.com/bottle2/swf2c/blob/c4e4faaa50fda0876fa877e68f50de2c6291a7c2/tests/gigaenormous-function.c

Similar changes as above.  The OpenMP sections should probably be
separate functions.  Maybe store their addresses in an array and invoke
them from an OpenMP parallel loop.

Thanks,
Florian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux