Saw Alex question about SQUID_INLINE in the IRC logs.

Yes, SQUID_INLINE can be removed from the code base if you like. It's
purpose is to optimize --disable-inline.

The simple method of always having inlines in the header with the inline
keyword has some issues:
  - Code gets duplicated in each compile unit, increasing both compile
time and binary size.
  - Some versions of GCC do not include inline functions at all
depending on the optimization level & flags, resulting in link failure.

The first is the primary reason for SQUID_INLINE.

Regards
Henrik

Reply via email to