Skip to content

Use alloc_zeroed in ByteBuffer::new - #2064

Merged
Robbepop merged 1 commit into
mainfrom
rf-use-alloc-zeroed
Oct 29, 2026
Merged

Robbepop merged 1 commit into
mainfrom
rf-use-alloc-zeroed

Conversation

@Robbepop

Copy link
Copy Markdown
Member

this can improve performance and memory usage on some platforms for some use cases.

API: https://doc.rust-lang.org/std/alloc/fn.alloc_zeroed.html

this can improve performance and memory usage on some platforms for some use cases.
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 76.30%. Comparing base (2970aa8) to head (dc3ca02).

Files with missing lines Patch % Lines
crates/core/src/memory/buffer.rs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2064   +/-   ##
=======================================
  Coverage   76.29%   76.30%           
=======================================
  Files         168      168           
  Lines       15535    15541    +6     
=======================================
+ Hits        11853    11859    +6     
  Misses       3682     3682           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Robbepop
Robbepop merged commit f0c20dc into main Oct 29, 2026
23 of 24 checks passed
@Robbepop
Robbepop deleted the rf-use-alloc-zeroed branch October 29, 2026 16:48
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.

1 participant