Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
turion committed Aug 13, 2024
1 parent 3e50914 commit 46cb5ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rhine/bench/Sum.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ rhineMS n =
then returnA -< ()
else throwS -< s

-- embed cannot be faster because it receives a list of boxed ints, whereas the flow version can unbox it.
automaton :: Int -> Int
automaton n = sum $ runIdentity $ embed myCount $ replicate n ()
where
Expand Down

0 comments on commit 46cb5ce

Please sign in to comment.