[Insight-developers] So... What platforms DON'T have stdint? (WAS discussion of 64bit niftilib lossage)

Steve M. Robbins steve at sumost.ca
Wed Jul 25 21:55:08 EDT 2007


On Wed, Jul 25, 2007 at 10:45:04AM +0200, Mathieu Malaterre wrote:
> On 7/25/07, Steve M. Robbins <steve at sumost.ca> wrote:
>> On Tue, Jul 24, 2007 at 02:22:28PM -0400, Sean McBride wrote:

>> True, but you can be smarter about it: read a reasonable-sized
>> buffer and parse it a field at a time.
>
> Shouldn't the iostream/fstream stuff already do that ? 

I would expect so, but I'm not really knowledgeable about the
C++ stream mechanism.


> Or even a system specific thing: on my linux ReiserFS system, reading
> twice the same file (different process) can be totally different in
> timing.

This is likely a different phenomenon: many OSes cache files or disk
sectors read.  If the file is small enough, you may be able to read
it a second time without hitting the disk at all.

-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.itk.org/mailman/private/insight-developers/attachments/20070725/c3f1ff20/attachment.pgp


More information about the Insight-developers mailing list