之前实现的版本可以做到100%的去重正确率,其实实际场景并不需要那么高的正确率,所以才有了现有的改进。
typedef struct hashnode {
unsigned long hash;
int next;
} __attribute__((packed)) HashNode;
typedef struct hashtable {
HashNode *node;
HashNode *lastfree;
} HashTable;
评论
暂无评论~~