- A flexible component for interest management
- Much more efficient, as the built-in component checks every entity within 9 cells when searching for players. In contrast, each entity in this component checks its own cell, where it is located according to a player-filled dictionary, defining the "visibility zones."
Built-in component in benchmark of 1000 entities takes 4.73 milliseconds on processing:
Optimized version in benchmark of 1000 entities takes 2.7 milliseconds on processing (optimized on 43 %):
- After expressing my intent to sell the optimized implementation on the developer forum, an enthusiast working on his own network library contacted me.
- We negotiated a price of $45, and I successfully sold my enhanced implementation to him: