Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Christopher T. Lansdown" <lansdoct@screech.cs.alfred.edu>
To: axp-list@redhat.com
Subject: int vs. long
Date: Fri, 30 Jul 1999 14:39:21 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.10.9907301437080.12502-100000@Screech> (raw)

Hi,
	Is there a speed difference between dealing with ints and dealing
with longs on the Alpha?  In this case I'm dealing with values guaranteed
to be too small for the range to matter, both will be sufficient.  I'm
just wondering if longs will be at all faster since they're more natural
on the Alpha, being a word and all.  Is there any truth to that?
	Oh, on another note, how much of a speed hit is a cast from
int (long) to float?  Thanks.
	-Chris

-- 
lansdoct@cs.alfred.edu
"If I had had more time I would have not written you at all." - Pascal
Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
Linux - Get there. Today.
Evil Overlord Quote of the Day:
150.I will provide funding and research to develop tactical and strategic
weapons covering a full range of needs so my choices are not limited to
"hand to hand combat with swords" and "blow up the planet".


             reply	other threads:[~1999-07-30 18:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-30 18:39 Christopher T. Lansdown [this message]
1999-08-01 23:38 ` int vs. long Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox