[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Performance of fread
From: |
Sascha Berkenkamp |
Subject: |
Performance of fread |
Date: |
Mon, 27 Feb 2006 12:22:00 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Hi,
I would like to know some things about the speed of the fread function.
In my scenary I'll get about 1000 pictures of one CCD camera. I have to
know the data from one pixel about the 1000 pictures. So in my first
step I sort the pictures new. So at the result I'll get all informations
about the pixel in one file (in my case the pixels-informations of one
column of the CCD array in one file).
The second step is to open all the files and read the pixels in order to
do some FFT and filtering. I have to read about 800 files (each as about
578 information of the pixels). In the end I do about 400.000 ffts.
But I think that the fread (and the speed of the disk) function is the
least link.
Is there any chance to make the fread faster, or is it better to do all
the task in C?
Sascha
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Performance of fread,
Sascha Berkenkamp <=