Re: size_t problems
jacob navia wrote:
`disc speed (data for the loading of)`.
--
Chris "already" Dollin
Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN
jacob navia wrote:
Chris Dollin wrote:
>
In all cases, caches or not, i/o of 20MB is faster than i/o of 80MB.
>Martin Wells wrote:
>>
>>
>That depends on the machine.
>>
>No-one really cares, anyway, not about /a/ 32-bit number. In the case
>of Jacob's 20 million people, the question should be whether it's
>faster to access 20 million ints or twenty million bytes -- at which
>point, such atopical things as caches (presence and size of) and
>disc speed (data for the loading of) may matter more than how long
>it takes for the machine to mask out the upper 24 bits of a value.
>>
>>If a machine is 32-bit, shouldn't it access a 32-bit number quicker
>>than an 8-bit number?
>>than an 8-bit number?
>That depends on the machine.
>>
>No-one really cares, anyway, not about /a/ 32-bit number. In the case
>of Jacob's 20 million people, the question should be whether it's
>faster to access 20 million ints or twenty million bytes -- at which
>point, such atopical things as caches (presence and size of) and
>disc speed (data for the loading of) may matter more than how long
>it takes for the machine to mask out the upper 24 bits of a value.
In all cases, caches or not, i/o of 20MB is faster than i/o of 80MB.
--
Chris "already" Dollin
Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN
Comment