Ported C implementation to Haskell, as well as two alternate more idiomatic implementations. One using lazy infinite lists, and another which is essentially a right fold.
Only the port is included as part of the speed comparison. I can remove the alternate implementations in src/alt if desired.
This addresses issue #83.
Ported C implementation to Haskell, as well as two alternate more idiomatic implementations. One using lazy infinite lists, and another which is essentially a right fold.
Only the port is included as part of the speed comparison. I can remove the alternate implementations in
src/alt
if desired.