|
From: | Vesa Jääskeläinen |
Subject: | Re: Eliminating grub_size_t |
Date: | Thu, 03 Jul 2008 21:42:19 +0300 |
User-agent: | Thunderbird 2.0.0.14 (Windows/20080421) |
Pavel Roskin wrote:
On Thu, 2008-07-03 at 20:02 +0200, Marco Gerards wrote:I know what it is. I believe int should be as good as size_t for most purposes is we are not working with very large structures or read gigabytes of data from files at once.Perhaps, but it doesn't hurt either. I think it is a good thing to have a type such that it is clear what kind of variable is used.
I think I'll try to make grub_size_t 32-bit everywhere and see if it's going to make any difference or help discover some issues.
Why? I would let it be optimal type for current memory bus width.
[Prev in Thread] | Current Thread | [Next in Thread] |