Skip to content

[#493][FOLLOWUP] improvement: replace putIfAbsent to avoid performance loss #2444

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

Merged
merged 3 commits into from
Apr 16, 2025

Conversation

xianjingfeng
Copy link
Member

What changes were proposed in this pull request?

Replace putIfAbsent to avoid performance loss

Why are the changes needed?

Fix: #493

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI

@xianjingfeng xianjingfeng requested review from maobaolong, zhengchenyu and zuston and removed request for maobaolong April 15, 2025 08:21
Copy link

github-actions bot commented Apr 15, 2025

Test Results

 3 019 files  ±0   3 019 suites  ±0   6h 44m 13s ⏱️ +6s
 1 178 tests ±0   1 177 ✅ ±0   1 💤 ±0  0 ❌ ±0 
14 922 runs  ±0  14 907 ✅ ±0  15 💤 ±0  0 ❌ ±0 

Results for commit 530d98e. ± Comparison against base commit 6843c06.

♻️ This comment has been updated with latest results.

@jerqi jerqi merged commit f732fc2 into apache:master Apr 16, 2025
41 checks passed
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.

[Improvement] Replace putIfAbsent with computeIfAbsent in some critical paths
2 participants