Skip to content

可以考虑使用字典树 #212

Closed
Closed
@ChunelFeng

Description

@ChunelFeng

朋友,不能光是分治或者hash啊。url的长度差距不大,而且前面几个字符,绝大部份相同。
这种情况,非常适合使用 字典树(trie tree) 这种数据结构来进行存储。
降低存储成本的同时,提高查询效率。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions