packages feed

bytestring-trie

An efficient finite map from bytestrings to values.

view on Hackage

An efficient finite map from bytestrings to values. The implementation is based on big-endian patricia trees, like "Data.IntMap". We first trie on the elements of "Data.ByteString" and then trie on the big-endian bit representation of those elements. Patricia trees have efficient algorithms for union and other merging operations, but they're also quick for lookups and insertions. If you are only interested in being able to associate strings to values, then you may prefer the @hashmap@ package which is faster for those only needing a map-like structure. This package is intended for those who need the extra capabilities that a trie-like structure can offer (e.g., structure sharing to reduce memory costs for highly redundant keys, taking the submap of all keys with a given prefix, contextual mapping, extracting the minimum and maximum keys, etc.)
versionuploadeduploaderchanges
0.2.7.72026-09-29 00:29 UTCWrenRomano+12/−7 lines, 3 filesdep ~basePVP ok
0.2.7.62025-02-12 03:47 UTCWrenRomano+37/−16 lines, 7 filesdep ~basePVP ok
0.2.7.52024-08-29 22:24 UTCWrenRomano+8/−5 lines, 2 filesdep ~QuickCheckdep ~tastydep ~tasty-quickcheckPVP ok
0.2.7.42024-08-29 21:49 UTCWrenRomano+20/−34 lines, 2 filesdep ~basedep ~binarydep ~bytestringPVP ok
0.2.7.32024-04-21 20:37 UTCWrenRomano+14/−10 lines, 3 filesdep ~basedep ~bytestringdep ~deepseqPVP: major bump suggested
0.2.7.22023-03-19 22:01 UTCWrenRomano+55/−31 lines, 15 filesdep ~basePVP ok
0.2.7.12023-03-12 23:09 UTCWrenRomano+85/−32 lines, 5 filesdep ~basePVP ok
0.2.72022-03-15 04:04 UTCWrenRomano+6000/−2869 lines, 21 filesdep +criteriondep +deepseqPVP: major bump suggested
0.2.62021-11-23 07:41 UTCWrenRomano+1731/−267 lines, 9 filesdep +QuickCheckdep +bytestring-triedep +smallcheckPVP: major bump suggested
0.2.5.32021-11-03 03:37 UTCWrenRomano+35/−47 lines, 9 filesdep ~basePVP ok
0.2.5.22021-10-16 23:29 UTCWrenRomano+49/−41 lines, 8 filesdep ~binarydep ~bytestringPVP ok
0.2.5.12021-10-16 21:10 UTCWrenRomano+16/−11 lines, 2 filesdep ~binaryPVP: major bump suggested
0.2.5.02019-02-26 04:22 UTCWrenRomano2 revisions+156/−350 lines, 5 filesdep ~basedep ~binarydep ~bytestringPVP ok
0.2.4.32019-02-25 05:59 UTCWrenRomano+124/−82 lines, 5 filesdep ~basedep ~bytestringnew-uploaderPVP: major bump suggested
0.2.4.12015-04-05 00:59 UTCWrenThornton1 revisions+12/−10 lines, 8 filesdep ~basePVP ok
0.2.42014-10-11 03:11 UTCWrenThornton1 revisions+221/−20 lines, 10 filesPVP ok
0.2.32011-02-12 11:07 UTCWrenThornton1 revisions+401/−174 lines, 9 filesPVP ok
0.2.22010-06-10 23:42 UTCWrenThornton1 revisions+668/−248 lines, 7 filesdep ~basePVP ok
0.1.42009-01-12 02:54 UTCWrenThornton1 revisions+167/−142 lines, 2 filesPVP ok
0.1.32009-01-10 12:59 UTCWrenThornton1 revisions+670/−504 lines, 5 filesPVP: major bump suggested
0.1.22009-01-06 01:02 UTCWrenThornton1 revisions+1047/−1029 lines, 9 filesPVP ok
0.1.12009-01-04 03:25 UTCWrenThornton1 revisions+103/−52 lines, 3 filesdep +binaryPVP ok
0.12008-12-20 05:26 UTCWrenThornton1 revisions+1050/−0 lines, 7 filesdep +basedep +bytestringsetup-changed

Dependencies of bytestring-trie-0.2.7.7

QuickCheck >=2.10 && <2.16 2.15.0.1 → 2.19.0.0 newer than bounds
2026-09-16 11:18 UTC2.19.0.0 newer than bounds+67/−41 lines, 10 filesdep +OneTuplePVP ok
2026-02-26 12:42 UTC2.18.0.0 newer than bounds+826/−542 lines, 23 filesPVP ok
2025-10-13 12:40 UTC2.17.1.0 newer than bounds+18/−8 lines, 4 filesdep ~randomPVP: major bump suggested
2025-10-07 12:26 UTC2.17.0.0 newer than bounds+667/−129 lines, 14 filesdep +data-array-bytedep +hintdep +splitdep −ghc-primdep −old-localedep −old-timedep ~basedep ~randomdep ~template-haskellPVP ok
2025-06-17 07:53 UTC2.16.0.0 newer than bounds+477/−86 lines, 15 filesdep ~basenew-uploaderPVP ok

showing 5 of 66 versions

base >=4.9 && <4.23 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

binary >=0.8.3 && <0.9 0.8.9.3 → 0.10.0.0 newer than bounds
2018-08-02 10:08 UTC0.10.0.0 newer than bounds+504/−101 lines, 10 filesdep +generic-derivingdep −tardep ~Cabaldep ~QuickCheckPVP ok
2017-03-13 22:00 UTC0.9.0.0 newer than bounds+245/−690 lines, 15 filesdep +tardep −base-orphansdep −binarydep −generic-derivingdep ~Cabaldep ~QuickCheckdep ~basePVP ok
2025-01-28 16:34 UTC0.8.9.3+8/−3 lines, 3 filesPVP ok
2024-04-12 15:16 UTC0.8.9.2+23/−9 lines, 5 filesPVP: major bump suggested
2022-08-04 23:02 UTC0.8.9.1+13/−12 lines, 3 filesPVP ok

showing 5 of 50 versions

bytestring >=0.10.8 && <0.13 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

criterion >=0 1.6.4.1 → 1.6.5.0
2026-04-02 13:34 UTC1.6.5.0+7650/−7639 lines, 41 filesdep −parsecdep −timedep −vector-algorithmsdep ~aesondep ~deepseqsetup-changedPVP ok
2025-09-06 22:52 UTC1.6.4.1+7639/−4696 lines, 42 filesdep ~base-compat-batteriessetup-changedbinary-addedPVP: major bump suggested
2024-10-27 00:12 UTC1.6.4.0+64/−143 lines, 15 filesdep −faildep −ghc-primdep −semigroupsdep ~aesondep ~basedep ~binaryPVP: major bump suggested
2023-08-08 11:17 UTC1.6.3.0+13/−7 lines, 3 filesdep ~base-compat-batteriesPVP ok
2023-05-23 23:07 UTC1.6.2.0+18/−62 lines, 4 filesdep +prettyprinterdep +prettyprinter-ansi-terminaldep ~aesondep ~optparse-applicativePVP ok

showing 5 of 70 versions

deepseq >=1.4.2 && <1.6 1.5.2.0 → 1.6.0.0 newer than bounds
2024-09-08 16:18 UTC1.6.0.0 newer than bounds+5/−14 lines, 3 filesdep ~basePVP ok
2025-06-14 22:25 UTC1.5.2.0+13/−4 lines, 3 filesPVP: major bump suggested
2024-09-09 12:48 UTC1.5.1.0+69/−14 lines, 3 filesdep −arraydep ~basePVP: major bump suggested
2023-07-27 19:32 UTC1.5.0.0+619/−532 lines, 5 filesdep ~basePVP ok
2022-12-18 00:14 UTC1.4.8.1+34/−9 lines, 3 filesdep ~basePVP: major bump suggested

showing 5 of 26 versions

smallcheck >=1.1.1 && <1.3 1.2.1.1 → 1.2.2
2026-08-01 12:36 UTC1.2.2+184/−163 lines, 10 filesdep −ghc-primdep −natsdep −semigroupsdep ~basesetup-changedPVP: major bump suggested
2023-06-04 22:59 UTC1.2.1.1+332/−62 lines, 9 filesdep ~ghc-primdep ~logictdep ~mtlPVP: major bump suggested
2021-01-16 16:28 UTC1.2.1+157/−73 lines, 8 filesdep ~basedep ~logictPVP ok
2020-06-14 23:29 UTC1.2.0+314/−10 lines, 3 filesdep +semigroupsdep +transformersdep +voidPVP ok
2020-06-11 22:24 UTC1.1.7+18/−5 lines, 3 filesPVP ok

showing 5 of 25 versions

tasty >=0.10.1.2 && <1.6 1.5.4 → 1.5.5
2026-10-20 23:13 UTC1.5.5+53/−26 lines, 7 filesdep +terminal-sizePVP ok
2026-03-25 20:04 UTC1.5.4+332/−166 lines, 22 filesdep −semigroupsPVP ok
2025-01-05 19:52 UTC1.5.3+36/−11 lines, 3 filesdep ~containersdep ~optparse-applicativePVP: major bump suggested
2024-11-03 00:34 UTC1.5.2+22/−5 lines, 4 filesdep ~basePVP ok
2024-06-22 10:14 UTC1.5.1+131/−63 lines, 10 filesdep ~basePVP: major bump suggested

showing 5 of 76 versions

tasty-hunit <0.11 0.10.1 → 0.10.2
2024-06-22 10:14 UTC0.10.2+15/−7 lines, 4 filesPVP ok
2023-09-10 00:12 UTC0.10.1+30/−52 lines, 5 filesdep ~basedep ~call-stackdep ~tastynew-uploaderPVP ok
2020-12-18 09:42 UTC0.10.0.3+55/−10 lines, 4 filesdep ~basePVP ok
2019-05-15 05:50 UTC0.10.0.2+38/−8 lines, 3 filesdep ~tastyPVP: major bump suggested
2017-12-01 19:24 UTC0.10.0.1+51/−29 lines, 4 filesPVP: major bump suggested

showing 5 of 15 versions

tasty-quickcheck >=0.8.3.2 && <0.12 0.11 → 0.11.1
2025-01-05 19:53 UTC0.11.1+66/−33 lines, 4 filesdep +regex-tdfadep −pcre-lightdep ~QuickCheckdep ~basedep ~optparse-applicativePVP: major bump suggested
2024-06-22 10:14 UTC0.11+132/−49 lines, 4 filesdep ~QuickCheckPVP ok
2023-09-10 00:10 UTC0.10.3+52/−14 lines, 3 filesdep ~QuickCheckdep ~optparse-applicativedep ~randomnew-uploaderPVP ok
2021-11-20 19:17 UTC0.10.2+21/−13 lines, 3 filesdep ~basePVP: major bump suggested
2020-12-18 09:42 UTC0.10.1.2+27/−13 lines, 4 filesdep ~basePVP: major bump suggested

showing 5 of 23 versions

tasty-smallcheck >=0.8.0.1 && <0.9 0.8.1 → 0.8.2
2020-12-18 17:40 UTC0.8.2+47/−11 lines, 3 filesdep +optparse-applicativedep −asyncdep ~basePVP ok
2015-11-26 17:48 UTC0.8.1+14/−5 lines, 3 filesPVP: major bump suggested
2014-10-09 09:21 UTC0.8.0.1+23/−4 lines, 3 files
2014-03-02 23:47 UTC0.8 outside bounds+11/−4 lines, 3 filesdep ~basedep ~tasty
2013-08-09 12:10 UTC0.2 outside bounds+3/−1 lines, 2 filesPVP ok

showing 5 of 6 versions

Reverse dependencies

25 packages depend on bytestring-trie; 2 have bounds that exclude 0.2.7.7

Hawk 0.0.2 requires bytestring-trie >=0.1.4 && <0.2 excludes current (upper bound)
text-trie 0.2.5.0 requires bytestring-trie >=0.2.5 && <0.2.6 excludes current (upper bound)
airship 0.9.5 requires bytestring-trie >=0.2.4 && <0.3
core-webserver-warp 0.2.1.2 requires bytestring-trie >=0
critbit 0.2.0.0 requires bytestring-trie >=0
data-object-json 0.3.1.8 requires bytestring-trie >=0.1.4 && <0.3
dprox 0.4.3 requires bytestring-trie >=0.2.4
elm-repl 0.4.1 requires bytestring-trie >=0.2.2 && <0.3
guardian 0.5.0.0 requires bytestring-trie >=0
ide-backend 0.10.0.1 requires bytestring-trie >=0.2 && <0.3
ide-backend-common 0.10.1.2 requires bytestring-trie >=0.2 && <0.3
json-b 0.0.4 requires bytestring-trie >=0.1.4
JSON-Combinator 0.2.8 requires bytestring-trie >=0
JSONb 1.0.8 requires bytestring-trie >=0.1.4
jspath 0.1 requires bytestring-trie >=0.1.4
lambdacube-core 0.2.0 requires bytestring-trie >=0.2 && <0.3
lambdacube-edsl 0.2.0 requires bytestring-trie >=0.2 && <0.3
lambdacube-engine 0.2.4 requires bytestring-trie >=0.2 && <0.3
lambdacube-samples 0.2.0 requires bytestring-trie >=0.2 && <0.3
LambdaDesigner 0.1.0.0 requires bytestring-trie >=0
lhc 0.10 requires bytestring-trie >=0
MutationOrder 0.0.1.0 requires bytestring-trie >=0.2
pattern-trie 0.1.1 requires bytestring-trie >=0
seonbi 0.3.4 requires bytestring-trie >=0.2.5 && <0.3
webapi 0.3 requires bytestring-trie >=0.2 && <0.3