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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,abbaab2e39561193 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-05 06:50:40 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!attbi_s03.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: Variant vs. Tagged Type X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <378qb.112530$Tr4.314502@attbi_s03> NNTP-Posting-Host: 12.211.58.135 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s03 1068043839 12.211.58.135 (Wed, 05 Nov 2003 14:50:39 GMT) NNTP-Posting-Date: Wed, 05 Nov 2003 14:50:39 GMT Organization: Comcast Online Date: Wed, 05 Nov 2003 14:50:39 GMT Xref: archiver1.google.com comp.lang.ada:2090 Date: 2003-11-05T14:50:39+00:00 List-Id: "Frank Piron" wrote in message news:oprx5zpwdbz12uz9@news.onlinehome.de... > Hi, > is it possible to make some general statements > concerning the alternative variant vs. tagged > type with respect to runtime performance? Only for a specific Ada compiler. Actual implementation of any feature within different compilers may differ radically. The only way to compare performance is through testing with a specific compiler. In certain cases you may find order-of-magnitude differences in performance between implementations. Steve (The Duck) > For example: > if we have an array A 1) of type access to a variant > 2) of type access 'Class > what can be said about the runtime performance > of the expression > A(I).? > Thanks in Advance, > Frank >