Should binary sharing be done using Mixin Template?
Vladimir Panteleev
vladimir at thecybershadow.net
Sun May 22 09:36:05 PDT 2011
On Sun, 22 May 2011 17:12:17 +0300, JimBob <jim at bob.com> wrote:
> Cant the compiler simply do a bitwise compare of all versions of a given
> template function/method, and remove any that have duplicate code? I mean
> actually compare the generated asm code.
That's what I suggested earlier, but I think this should be done by a
linker, as it'll allow merging duplicate code objects in all modules.
--
Best regards,
Vladimir mailto:vladimir at thecybershadow.net
More information about the Digitalmars-d
mailing list