Article View: comp.lang.modula2
Article #3269Re: Modula2 for C programmers?
From: "Mark Morgan Lloyd "
Date: Thu, 08 Feb 1996 16:12
Date: Thu, 08 Feb 1996 16:12
11 lines
813 bytes
813 bytes
The use of untagged variants is actually quite slow, since most of the work is done at runtime. A type transfer _should_ be just a hint to the compiler and as such should generate no code, whilst a VAL() or ORD() may involve a small amount of computation (typically inc or dec) if converting between enumerations. Mark Morgan Lloyd mark_tbu@cix.compulink.co.uk [Opinions above are the author's, not those of his employers or colleagues]
Technical Details
Message-ID:
<DMGt0K.64B@cix.compulink.co.uk>Path:
arc1-ca.pugleaf.net!cix.compulink.co.uk!usenetReferences:
<DMDnx3.Azx@nyongwa.montreal.qc.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2
Path: arc1-ca.pugleaf.net!cix.compulink.co.uk!usenet
From: mark_tbu@cix.compulink.co.uk ("Mark Morgan Lloyd ")
Subject: Re: Modula2 for C programmers?
Message-ID: <DMGt0K.64B@cix.compulink.co.uk>
Organization: KDG Mobrey Telemetry
References: <DMDnx3.Azx@nyongwa.montreal.qc.ca>
Date: Thu, 8 Feb 1996 16:12:19 GMT
X-News-Software: Ameol