Saturday, June 28, 2008

f77 program runs really fast.

It took IDL tens of minutes to completed. However, the work was done in several seconds by native f77 program. It's really amazing!

There are totally 857703 lines and 4 columns data. The task is to sort the first column, find those unique values and do summations of each unique value of the first column. The output file turns out to have 343352 lines. It involves sorting, finding unique values, searching and summation operations. I cann't believe f77 program can finished it so fast.

No comments: