From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19571 invoked from network); 30 Jul 1999 18:26:14 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jul 1999 18:26:14 -0000 Received: from screech.cs.alfred.edu (root@screech.cs.alfred.edu [149.84.148.201]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA17454 for ; Fri, 30 Jul 1999 14:26:14 -0400 Received: from Screech (IDENT:lansdoct@Screech [149.84.148.201]) by screech.cs.alfred.edu (8.9.3/8.9.3) with ESMTP id OAA22692 for ; Fri, 30 Jul 1999 14:39:21 -0400 Date: Fri, 30 Jul 1999 14:39:21 -0400 (EDT) From: "Christopher T. Lansdown" X-Sender: lansdoct@Screech To: axp-list@redhat.com Subject: int vs. long Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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".