Skip to content

Instantly share code, notes, and snippets.

View bkc39's full-sized avatar

Ben Carriel bkc39

  • Bot Lab, LP
  • New York, NY
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bkc39 on github.
  • I am botlabbkc (https://keybase.io/botlabbkc) on keybase.
  • I have a public key ASD5r2pwdjY8jkqmOzxmWhgKt99cPMVGLzSJLcAa3i-n0wo

To claim this, I am signing this object:

@bkc39
bkc39 / Bench.hs
Created June 22, 2018 01:13
Why are things so damn slow
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
module Main (main) where
import Criterion
import Criterion.Main
import qualified Data.ByteString.Char8 as BSC
import Data.Attoparsec.ByteString.Char8