Closed ceteri closed 10 years ago
Hello,
To compile Python extensions on Ubuntu you need python-dev package - is it installed?
got it, many thanks!
datrie is great, using it for https://github.com/ceteri/exelixi
I took a quick look at exelixi (ga.py file), and it seems that you're storing sha2 hashes in Trie; FYI: trie won't compress them much because they are almost random and share prefixes only occasionally. Also, datrie could be slow if there are many inserts because it is a Double Array Trie and some inserts require moving large blocks of memory. Standard dict could work better in this setting. If you need a Trie with fast inserts then take a look at Trie from BioPython or at https://github.com/kmike/hat-trie.
Thank you very much, HAT-Trie looks great. Does the pip install hat-trie
currently work? it's not showing up in pip search for me.
Hey @ceteri, I haven't released hat-trie to pypi yet, and README is misleading - sorry for the confusion! You can install it by running
pip install git+https://github.com/kmike/hat-trie.git#egg=hat-trie
many thanks! i've swapped that in