Skip to content

[buff] Short circuit if buff is fallback#11597

Open
renanthera wants to merge 6 commits into
simulationcraft:midnightfrom
renanthera:12.1/68569-early-return-if-buff-is-fallback
Open

[buff] Short circuit if buff is fallback#11597
renanthera wants to merge 6 commits into
simulationcraft:midnightfrom
renanthera:12.1/68569-early-return-if-buff-is-fallback

Conversation

@renanthera

@renanthera renanthera commented Jul 16, 2026

Copy link
Copy Markdown
Member

Check if buff_t::is_fallback is true and short circuit for all buff_t (and derived type) member functions that are setters or immediately check for buff data validity.

Non-setters were avoided as they tend to be called more frequently.

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.

1 participant