两种方式:
Trie
:前缀树。use_trie/trie.pyRedis
:使用 SortedSet 和 HASH。use_redis/rds.py
使用基于Trie
的示例:
ptyhon app.py --use=trie
使用基于Redis
的示例:
python app.py --use=redis
浏览器访问:http://localhost:9487/
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
parent directory.. | ||||
两种方式:
Trie
:前缀树。use_trie/trie.pyRedis
:使用 SortedSet 和 HASH。use_redis/rds.py使用基于Trie
的示例:
ptyhon app.py --use=trie
使用基于Redis
的示例:
python app.py --use=redis
浏览器访问:http://localhost:9487/