Don Stewart wrote:
wren:
Alex Mason wrote:
TernaryTrees is a package that extends Data.Set ad Data.Map with some
ternary tree structures, based on the article
[http://www.pcplus.co.uk/node/3074/] .
For the string (or rather ByteString) version:
http://hackage.haskell.org/cgi-bin/hackage-sc
wren:
> Alex Mason wrote:
>> TernaryTrees is a package that extends Data.Set ad Data.Map with some
>> ternary tree structures, based on the article
>> [http://www.pcplus.co.uk/node/3074/] .
>
> For the string (or rather ByteString) version:
>
> http://hackage.haskell.org/cgi-bin/hackage-scripts
Alex Mason wrote:
TernaryTrees is a package that extends Data.Set ad Data.Map with some
ternary tree structures, based on the article
[http://www.pcplus.co.uk/node/3074/] .
For the string (or rather ByteString) version:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/bytestring-tri
G'day all.
Quoting Andrew Coppin :
That's just scary. I was just in the middle of writing the exact same
thing! :-D (I read that very article...)
When you're both done, please compare with the implementation that's
been in Edison for about five years:
http://www.cs.princeton.edu/~rdockins/ed
On Tue, Jun 30, 2009 at 03:29:45AM +1000, Alex Mason wrote:
> (being able to insert 230,000+ words, check that all those
> words are actually in the set, write the set out to disk using
> the Data.Binary instance, reading them back in, and checking
> the old and new sets are equal takes about 3.5 s
Alex Mason wrote:
TernaryTrees is a package that extends Data.Set ad Data.Map with some
ternary tree structures, based on the article
[http://www.pcplus.co.uk/node/3074/] .
That's just scary. I was just in the middle of writing the exact same
thing! :-D (I read that very article...)
Please
TernaryTrees is a package that extends Data.Set ad Data.Map with some
ternary tree structures, based on the article [http://www.pcplus.co.uk/node/3074/
] .
So far there are three modules: Data.Set.TernarySet,
Data.Map.TernaryMap and Data.Set.StringSet, which can hold `Ord a =>
[a]`, Ord a