Closed zhanhb closed 4 years ago
Thank you for your PR ! Have you ever check this repo https://github.com/yl2chen/cidranger yet ? Is there any difference between your implementation and theirs ?
In one sentence, we implement with different algorithms. I read the source of that repository. It's implemented with trie tree, while my implementsation is sorted array. I test the performace. I tested the performance of the two, which are roughly equivalent.
With trie tree, you can update the database with high performance, while sorted array cost lots of time. With sorted array, you can cost fewer memory.
Try push to
master
branch instead,dev
branch is behind and deprecated for now.