> It is unclear what you translated. Could you show?


I was just saying that I didn't expect the compiler to treat stream-fusion 
the same way in ATS as it does in Haskell. To your point, I expected 
different algorithms.

I found the tutorial useful -- implementing a custom allocation routine was 
easier than I expected it to be. I managed to get the version with 
datavtypes to run as quickly as the stack version (eg, ~12ms).   I need to 
refine it a bit more, but that's the start I was looking for.

I would be interested in seeing an implementation of a). I attached the 
original datavtype version of the code I was using to test.  This is a toy 
program that creates a stream and prints the final value.

-- 
You received this message because you are subscribed to the Google Groups 
"ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ats-lang-users/644579cc-b9bf-4b03-a5f7-9736bcf024f2%40googlegroups.com.

Attachment: ode_test_linear1.dats
Description: Binary data

Reply via email to