|
1
hash
|
|
zhouquanbestOct 1, 2014
2
hash+1
|
|
daweibaoOct 1, 2014
3
hash+1
|
|
virusdefenderOct 1, 2014
4
你是多少条url,直接放数据库~
|
|
5
效率肯定字典树了,不过方便还是平衡树,直接上map。
ls的hash也是非常靠谱的 |
|
6
@virusdefender
环境需求,不能使用数据库。 |
|
hitigonOct 1, 2014
7
字典树吧
|
|
c742435Oct 1, 2014
8
多个是多少个。
1000个和百万个还是有很大区别的 |