-
Notifications
You must be signed in to change notification settings - Fork 40
/
critbit.cabal
113 lines (102 loc) · 2.69 KB
/
critbit.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
name: critbit
version: 0.2.0.0
homepage: https://github.com/bos/critbit
bug-reports: https://github.com/bos/critbit/issues
synopsis: Crit-bit maps and sets
description:
This package implements crit-bit trees, a key-value container type
for storing keys that can be treated as bitstrings (e.g.
'ByteString' and 'Text').
.
Compared to the data structures from the containers and
unordered-containers packages, you will find that sometimes the
functions implemented in this package are faster, sometimes
slower.
.
In many cases, a 'CritBit' tree provides performance close to that
of a 'HashMap', while providing ordered storage and traversal
like a 'Map'.
license: BSD3
license-file: LICENSE
author: Bryan O'Sullivan <[email protected]>
maintainer: Bryan O'Sullivan <[email protected]>
copyright: 2013-2014 Bryan O'Sullivan and others
category: Data
build-type: Simple
cabal-version: >= 1.14
extra-source-files:
README.markdown
flag developer
description: operate in developer mode
default: False
library
default-language: Haskell2010
exposed-modules:
Data.CritBit.Map.Lazy
Data.CritBit.Set
other-modules:
Data.CritBit.Core
Data.CritBit.Types.Internal
Data.CritBit.Tree
build-depends:
array,
base >= 4 && < 5,
bytestring >= 0.9,
deepseq,
text >= 0.11.2.3,
vector
ghc-options: -Wall -funbox-strict-fields -O2 -fwarn-tabs
if flag(developer)
ghc-prof-options: -auto-all
ghc-options: -Werror
cpp-options: -DASSERTS
test-suite tests
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
if impl(ghc >= 7.4)
other-modules:
Properties.Common
Properties.Map
Properties.Set
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
QuickCheck >= 2.7,
base >= 4 && < 5,
bytestring,
containers,
critbit,
test-framework >= 0.4,
test-framework-quickcheck2 >= 0.2,
text,
transformers >= 0.3,
vector
benchmark benchmarks
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Benchmarks.hs
ghc-options: -O2 -rtsopts
build-depends:
base >= 4 && < 5,
bytestring,
bytestring-trie,
containers,
critbit,
criterion >= 0.8,
deepseq,
hashable < 1.2,
mtl,
mwc-random,
text,
transformers >= 0.3,
unordered-containers,
vector
source-repository head
type: git
location: https://github.com/bos/critbit
source-repository head
type: mercurial
location: https://bitbucket.org/bos/critbit