DEV Community

loading...

Discussion on: Building a Discord bot to filter out swear words

Collapse
nldoty profile image
Nick Doty Author

Because when you have a lot of words that are very similar (especially when accounting for leet-speak letters) you are much more likely to have collisions in a hash table. It will also take up significantly more space (although in this instance, space is relatively cheap.) But partially because I just wanted to implement a trie.