Skip to content

Conversation

@bobtista
Copy link

@bobtista bobtista commented Nov 13, 2025

Summary

Optimizes Object::isHero() by caching hero count in containers instead of iterating through all contained objects on every call.

@bobtista bobtista force-pushed the bobtista/optimize-object-is-hero branch from bcbf169 to 386443b Compare November 13, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Object::isHero function is inefficient

1 participant