Skip to content

Conversation

Lord-McSweeney
Copy link
Collaborator

Previously, we were using u64::MAX as a sentinel value

Previously, we were using `u64::MAX` as a sentinel value
@Lord-McSweeney Lord-McSweeney added A-core Area: Core player, where no other category fits T-refactor Type: Refactor / Cleanup labels Sep 23, 2025
@Lord-McSweeney Lord-McSweeney added the waiting-on-review Waiting on review from a Ruffle team member label Sep 23, 2025
@Bale001
Copy link
Member

Bale001 commented Sep 24, 2025

I'm not sure if I entirely agree - Option<u64> is larger than a regular u64, and I don't think there's anything wrong with using u64::MAX as a sentinel value. Is there any other reason for this other than for style?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-core Area: Core player, where no other category fits T-refactor Type: Refactor / Cleanup waiting-on-review Waiting on review from a Ruffle team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants