[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /var/run to a tmpfs?

On 9/20/06, Michal Čihař <michal@cihar.com> wrote:
> char    1 bytes
> short  2 bytes
> int       4 bytes
> long   8 bytes

Nothing says long has to be bigger that int, only thing which is
defined is:

sizeof(short) <= sizeof(int) <= sizeof(long)

so having short, int, long of same size is not a problem.

I think you're missing the point. If you make an int 8 bytes, what are
you going to call 4 byte integers? If you call them short, what are
you going to call 2 byte integers?

Anyway, the link to the paper posted in this thread has many much
better arguments.

Have a nice day,
Martijn van Oosterhout <kleptog@gmail.com> http://svana.org/kleptog/

Reply to: