Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!lll-lcc!unisoft!mtxinu!rtech!wong From: wong@rtech.UUCP (J. Wong) Newsgroups: net.lang.c,net.bugs Subject: Re: e1?e2:e3 so, is it useful or what? Message-ID: <437@rtech.UUCP> Date: Mon, 8-Sep-86 14:51:40 EDT Article-I.D.: rtech.437 Posted: Mon Sep 8 14:51:40 1986 Date-Received: Tue, 9-Sep-86 02:28:05 EDT References: <518@hadron.UUCP> <243@desint.UUCP> <745@wjvax.wjvax.UUCP> <248@desint.UUCP> <114@methods.UUCP> <4064@reed.UUCP> Reply-To: wong@rtech.UUCP (J. Wong) Organization: Relational Technology Inc, Alameda CA Lines: 16 Xref: mnetor net.lang.c:5823 net.bugs:338 In article <4064@reed.UUCP> trost@reed.UUCP (Bill Trost) writes: > > ... I also suspect (but am uncertain) >that the use of ?: is more effecient in terms of code size and speed. No, in most cases ?: is less efficient. It does result is less source code, however (and I feel results in more readable code, as long as you don't nest them.) -- J. Wong ucbvax!mtxinu!rtech!wong **************************************************************** You start a conversation, you can't even finish it. You're talking alot, but you're not saying anything. When I have nothing to say, my lips are sealed. Say something once, why say it again. - David Byrne