Skip to content

Conversation

@JamesMcClung
Copy link
Collaborator

Use LOG_ERROR instead of assertions to enforce domain validity on release builds. None of these checks occur during the main loop—I assume—so there should be no real performance penalties.

Copy link
Contributor

@germasch germasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
I've most definitely abused assert() way too much, and every so often it comes back to bite me (or you, I suppose) in release builds.

@JamesMcClung JamesMcClung merged commit 115070e into main Nov 21, 2025
11 checks passed
@JamesMcClung JamesMcClung deleted the pr/check-dim branch November 21, 2025 18:36
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.

3 participants