---
title: "Discussion on \"Scaling Profanity Filters: Why I Use Tries for Real-Time Chat\" | Hashnode"
description: "Discussion on \"Scaling Profanity Filters: Why I Use Tries for Real-Time Chat\". Stop looping through 5,000-word blocklists. Learn how Tries (Prefix Trees) enable high-performance profanity filtering with O(k) complexity for game developers."
url: "https://hashnode.com/posts/scaling-profanity-filters-why-i-use-tries-for-real-time-chat/69b3f6eb4e5702eb0dd00a39"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scaling Profanity Filters: Why I Use Tries for Real-Time Chat](https://doogal.dev/scaling-profanity-filters-why-i-use-tries-for-real-time-chat?utm_source=hashnode&utm_medium=feed)

Stop looping through 5,000-word blocklists. Learn how Tries (Prefix Trees) enable high-performance profanity filtering with O(k) complexity for game developers.

Mar 13 · 5 min read · doogal.dev  
Read the article

-   [#datastructures](https://hashnode.com/tag/datastructures)
-   [#gamedev](https://hashnode.com/tag/gamedev)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#softwareengineering](https://hashnode.com/tag/softwareengineering)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Doogal Simpson](https://hashnode.com/@doogal)

@doogal

  
[View profile](https://hashnode.com/@doogal)

"hey doogal, what is .... ?"

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
