OkCupid / sfslite

SFSlite C++ development libraries
GNU General Public License v2.0
55 stars 65 forks source link

Reduce number of exported symbols #17

Closed till-varoquaux closed 8 years ago

till-varoquaux commented 10 years ago

This reduces the number of binary symbols that are exported by marking a lot of templated functions as inline and hidden. Applying this patch causes the number of symbols exported by libmodule to be divided by 4 and the link time to be divided by more than 2; programs should also run a tiny bit faster. No changes are required to oksrc or okws.