Name: fps Version: 0.8 Description: Fast, packed, strict and lazy byte arrays with a list interface License: BSD3 License-file: LICENSE Author: Don Stewart Maintainer: dons@cse.unsw.edu.au Build-Depends: base extensions: CPP, ForeignFunctionInterface Exposed-modules: Data.ByteString Data.ByteString.Char8 Data.ByteString.Base Data.ByteString.Lazy Data.ByteString.Lazy.Char8 Data.ByteString.FusionStream -- Data.ByteString.Fusion -- Data.ByteString.FusionLateWrapElimNoAcc -- Data.ByteString.FusionLoopUpDown -- Data.ByteString.FusionWrapElim -- Data.ByteString.FusionWrapElimMapFilter -- Data.ByteString.FusionWrapElimNoAcc ghc-options: -Wall -fglasgow-exts -O2 -funbox-strict-fields -DFUSION_Streams include-dirs: cbits c-sources: cbits/fpstring.c -- Try one of these to test various fusion strategies -- FUSION_LoopUpDown -- FUSION_WrapElim -- FUSION_WrapElimNoAcc -- FUSION_WrapElimMapFilter -- FUSION_LateWrapElimNoAcc -- FUSION_Streams -- Experiments only. Enabling these are likely to lead to slower code -- -DLOOPU_FUSION -- -DLOOPNOACC_FUSION -- -DLOOPUP_FUSION -- -DLOOPU_FUSION -- If you have a ghc 6.5 newer than 06/06/06, try unsetting this It will -- use a faster foreign pointer implementation. -- -DSLOW_FOREIGN_PTR -- TODO, there's a bug with the include-dirs setting. if you install the -- package from another directory, it won't be able to find the -- (relative) path to cbits. Not sure how to work around this.