From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37680a99b5e22b2b X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Shared Generic Instance Code Date: 1997/04/07 Message-ID: #1/1 X-Deja-AN: 231346105 References: <5hrkhkINN9ip@snoopy.cis.ohio-state.edu> <1997Apr1.201631.28634@ocsystems.com> <5i23k6$hkq@mulga.cs.mu.OZ.AU> <3346F7E8.78E6@bix.com> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-04-07T00:00:00+00:00 List-Id: <> Compiling a macro expanded generic is indeed like compiling the source, it should be no slower or no faster. Big generics are best avoided if you are working with a compiler without shared generics and you plan to do many instantiations, as I mentioned before, have a look at the GNAT implementation of Integer_IO or Float_IO to see what I mean by this. But in any case I was talking about runtime efficiency, not compile time speed, when I said that macro instantiated generics will generally be significantly more efficient.