From 0734e5bbe64e1daeaea74cc29a6631d84cf6c3e1 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 30 Jun 2019 11:02:27 -0400 Subject: switch crc24Lazy to use foldl' --- bench/mark.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bench') diff --git a/bench/mark.hs b/bench/mark.hs index 8251823..cf1f20f 100644 --- a/bench/mark.hs +++ b/bench/mark.hs @@ -1,5 +1,5 @@ -- mark.hs: openpgp-asciiarmor benchmark suite --- Copyright © 2018 Clint Adams +-- Copyright © 2018-2019 Clint Adams -- This software is released under the terms of the ISC license. -- (See the LICENSE file). @@ -11,6 +11,8 @@ import Data.Digest.CRC24 main :: IO () main = defaultMain [ - bgroup "crc" [ bench "crc24" $ whnf crc24 "test" + bgroup "crc" [ + bench "crc24" $ whnf crc24 "test" + , bench "crc24Lazy" $ whnf crc24Lazy "test" ] ] -- cgit v1.2.3