---------- Forwarded message ----------
From: Tom Hawkins <tomahawkins at gmail.com>
Date: Thu, Nov 19, 2009 at 9:31 PM
Subject: Re: [Haskell-cafe] ANNOUNCE: feldspar-language
To: Emil Axelsson <emax at chalmers.se>
On Thu, Nov 19, 2009 at 5:58 PM, Emil Axelsson <emax at chalmers.se> wrote:
> Hi Tom, thanks for the code!
>> Is my understanding correct that `filter` in the C code performs evaluation
> of one cycle, and someone else will take care of calling it repeatedly on
> the input stream?
This is correct. In our application there is no buffered steam.
Instead this code is processing data immediately after it is sampled
by the ADCs; in our case once every 1ms.
>> Is there a way to avoid rolling out the summation loops fully?
Yes, but only by creating a custom primitive (see 'action'). But then
you're writing in C, not Atom.