Size of char on a 64 bit machine
From: aruna (arunal2001_at_yahoo.co.in)
Date: 04/28/04
- Next message: aruna: "Volatile specifier"
- Previous message: Kenneth Brody: "Re: KDE or GNOME?"
- Next in thread: Thomas Stegen: "Re: Size of char on a 64 bit machine"
- Reply: Thomas Stegen: "Re: Size of char on a 64 bit machine"
- Reply: Eric Sosman: "Re: Size of char on a 64 bit machine"
- Reply: Stephen Sprunk: "Re: Size of char on a 64 bit machine"
- Reply: Keith Thompson: "Re: Size of char on a 64 bit machine"
- Reply: Peter Nilsson: "Re: Size of char on a 64 bit machine"
- Reply: Dan Pop: "Re: Size of char on a 64 bit machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Apr 2004 08:53:56 -0700
How is a character stored in a word aligned machine? Assuming on 64bit
machine, 1 byte is reserved for a char, is it the case that only 1
byte is used to store the character and the rest 7 bytes are wasted,
or my assumption is wrong? If my assumption is right, what are the
performance issues in retrieving value of a character variable over
other data types like integer, double or float.
- Next message: aruna: "Volatile specifier"
- Previous message: Kenneth Brody: "Re: KDE or GNOME?"
- Next in thread: Thomas Stegen: "Re: Size of char on a 64 bit machine"
- Reply: Thomas Stegen: "Re: Size of char on a 64 bit machine"
- Reply: Eric Sosman: "Re: Size of char on a 64 bit machine"
- Reply: Stephen Sprunk: "Re: Size of char on a 64 bit machine"
- Reply: Keith Thompson: "Re: Size of char on a 64 bit machine"
- Reply: Peter Nilsson: "Re: Size of char on a 64 bit machine"
- Reply: Dan Pop: "Re: Size of char on a 64 bit machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|