Re: Difficulties with performance in ATS

2018-08-05 Thread Vanessa McHale
Yes indeed! This seems to be as fast as the C code. I can't find any substantial difference, at least. I'll push these changes and take a look at Hongwei's comments next :) Thanks! On 07/20/2018 03:33 AM, Artyom Shalkhakov wrote: > On Friday, July 20, 2018 at 1:22:47 PM UTC+6, Vanessa McHale

Re: Difficulties with performance in ATS

2018-08-05 Thread Vanessa McHale
It doesn't seem to affect things in a way that I can measure, though thankfully with Artyom's suggestions the code is now as fast as C (or at least, I can't reliably measure any difference in the two) :) On 07/20/2018 08:39 AM, gmhwxi wrote: >     fun loop2 { i : nat | i > 0 && i <= n+1 } .. (x :