Skip to content

refactor: TypedArray uses usize instead of u64 for internal properties - #5263

Open
zhuzhu81998 wants to merge 4 commits into
boa-dev:mainfrom
zhuzhu81998:zhuzhu/TypedArray-use-usize-internally
Open

refactor: TypedArray uses usize instead of u64 for internal properties#5263
zhuzhu81998 wants to merge 4 commits into
boa-dev:mainfrom
zhuzhu81998:zhuzhu/TypedArray-use-usize-internally

delete some redundant lines

7361b32
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 11, 2026 in 0s

59.74% (+12.50%) compared to 6ddc2b4

View this Pull Request on Codecov

59.74% (+12.50%) compared to 6ddc2b4

Details

Codecov Report

❌ Patch coverage is 62.76596% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.74%. Comparing base (6ddc2b4) to head (7361b32).
⚠️ Report is 965 commits behind head on main.

Files with missing lines Patch % Lines
core/engine/src/builtins/typed_array/builtin.rs 59.42% 28 Missing ⚠️
core/engine/src/builtins/typed_array/object.rs 70.00% 3 Missing ⚠️
core/engine/src/value/display/typed_array.rs 0.00% 3 Missing ⚠️
core/engine/src/builtins/typed_array/mod.rs 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #5263       +/-   ##
===========================================
+ Coverage   47.24%   59.74%   +12.50%     
===========================================
  Files         476      589      +113     
  Lines       46892    63422    +16530     
===========================================
+ Hits        22154    37893    +15739     
- Misses      24738    25529      +791     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.