PSN-L Email List Message

Subject: Re: Basic Programming Help desired?
From: Kevin Brunt k.brunt@.........
Date: Fri, 9 May 2008 11:15:36 +0100 (BST)



Hi,

While I am not going to argue against the "unrolling" of the code within a loop, my take on it is that it is something that a good optimising compiler will do for you. In your example, I suspect that the cost of the repeated "multiply-by-sixteen" operations would lose a lot of the time saved by reducing the amount of "iteration overhead".

I don't think that a "Linux plus C" approach will serve Geoff's purpose. Apart from the fact that he obviously would rather get on with the seismology, rather than learning another programming language, he's wanting to run his data capture system on a low-spec machine (retired from other uses, I suspect).

Kevin

---- Original message ----
>Date: Fri, 09 May 2008 07:42:12 +0100
>From: ian ian@...

>   I used the inline code example (I posted earlier) on
>   PDP 11 computers.

>   I wrote the time critical parts in assembler and the
>   rest in Pascal.  As for the current PSN problem, I
>   would suggest scrapping basic and windows and going
>   for a Linux machine and program in C.
__________________________________________________________

Public Seismic Network Mailing List (PSN-L)


[ Top ] [ Back ] [ Home Page ]