On Fri, 12 Oct 2001 16:30:02 -0700, Darin Fisher <[EMAIL PROTECTED]> wrote: >actually, in the future, i'd really like to move the networking >NS_NewXXX functions into a static library. that way each component that >depends on necko can contain a single copy of these helper functions, >instead of one inlined everywhere it is needed. this should help reduce >code bloat without requiring consumers to link to libnecko. it would >also be possible to write a version of this library that did link to >necko and didn't bother calling the component manager if that were desired. > >darin >
I would hope that the linker is smart enough to merge the non-inlinable bits together in each shared lib. That may be wishful thinking, though. Bradley
