Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IntUnaryOperator in Gradient2Limit for queueSize #207

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

kilink
Copy link
Member

@kilink kilink commented Sep 15, 2024

Use IntUnaryOperator in Gradient2Limit for queueSize to avoid boxing. Also, avoid excessive volatile reads and avoid boxing when debug logging is disabled.

@kilink kilink force-pushed the gradient2-limit-int-unary-operator branch from 2483e71 to c4ec2c4 Compare September 18, 2024 02:57
Use IntUnaryOperator in Gradient2Limit for queueSize to avoid boxing. Also, avoid excessive
volatile reads and avoid boxing when debug logging is disabled.
@kilink kilink force-pushed the gradient2-limit-int-unary-operator branch from c4ec2c4 to 26f23a0 Compare September 18, 2024 02:59
@kilink kilink merged commit 74bb308 into Netflix:main Sep 19, 2024
1 check passed
@kilink kilink deleted the gradient2-limit-int-unary-operator branch September 19, 2024 03:45
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.

2 participants