Skip to content

Conversation

@santigimeno
Copy link
Member

In some cases, they can take a negative value (don't really know why because supposedly v8 uses a monotonic clock). We don't want to cast them to unsigned to avoid overflows.

@santigimeno santigimeno requested a review from juanarbol January 20, 2025 20:21
@santigimeno santigimeno self-assigned this Jan 20, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.
@santigimeno santigimeno force-pushed the santi/fix_delta_times branch from 0d401be to 86178c3 Compare January 21, 2025 17:23
Copy link
Contributor

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

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

a bit scary, but :shipit:

santigimeno added a commit that referenced this pull request Jan 24, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.

PR-URL: #254
Reviewed-By: Juan José Arboleda <[email protected]>
@santigimeno
Copy link
Member Author

Landed in 0246f46

@santigimeno santigimeno deleted the santi/fix_delta_times branch January 24, 2025 17:37
santigimeno added a commit that referenced this pull request Feb 12, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.

PR-URL: #254
Reviewed-By: Juan José Arboleda <[email protected]>
santigimeno added a commit that referenced this pull request Feb 14, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.

PR-URL: #254
Reviewed-By: Juan José Arboleda <[email protected]>
santigimeno added a commit that referenced this pull request Feb 14, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.

PR-URL: #254
Reviewed-By: Juan José Arboleda <[email protected]>
PR-URL: #268
santigimeno added a commit that referenced this pull request Feb 14, 2025
In some cases, they can take a negative value (don't really know why
because supposedly v8 uses a monotonic clock). We don't want to cast
them to unsigned to avoid overflows.

PR-URL: #254
Reviewed-By: Juan José Arboleda <[email protected]>
PR-URL: #269
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