Skip to content

Add an "iter()" method to Js*Array for convenience#3986

Merged
jedel1043 merged 6 commits intoboa-dev:mainfrom
hansl:uint8_arrays_util
Sep 9, 2024
Merged

Add an "iter()" method to Js*Array for convenience#3986
jedel1043 merged 6 commits intoboa-dev:mainfrom
hansl:uint8_arrays_util

Conversation

@hansl
Copy link
Contributor

@hansl hansl commented Sep 7, 2024

It might be optimizable, and in either case it should be but this at
least let people use an easy API and enjoy future improvements.

@codecov
Copy link

codecov bot commented Sep 7, 2024

Codecov Report

Attention: Patch coverage is 27.50000% with 29 lines in your changes missing coverage. Please review.

Project coverage is 51.79%. Comparing base (6ddc2b4) to head (92e0c8b).
Report is 254 commits behind head on main.

Files with missing lines Patch % Lines
core/engine/src/builtins/atomics/futex.rs 0.00% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3986      +/-   ##
==========================================
+ Coverage   47.24%   51.79%   +4.54%     
==========================================
  Files         476      468       -8     
  Lines       46892    45223    -1669     
==========================================
+ Hits        22154    23421    +1267     
+ Misses      24738    21802    -2936     

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

Copy link
Member

@HalidOdat HalidOdat left a comment

Choose a reason for hiding this comment

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

Nice addition! :)

@HalidOdat HalidOdat requested a review from a team September 9, 2024 05:48
@HalidOdat HalidOdat added A-Enhancement New feature or request A-API Changes related to public APIs labels Sep 9, 2024
@HalidOdat HalidOdat added this to the next-release milestone Sep 9, 2024
@jedel1043 jedel1043 enabled auto-merge September 9, 2024 16:10
@jedel1043 jedel1043 disabled auto-merge September 9, 2024 16:11
@jedel1043 jedel1043 added this pull request to the merge queue Sep 9, 2024
Merged via the queue into boa-dev:main with commit cdb4751 Sep 9, 2024
@hansl hansl deleted the uint8_arrays_util branch September 9, 2024 20:06
hansl added a commit to hansl/boa that referenced this pull request Sep 12, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

* Add an "iter()" method to Js*Array for convenience

It might be optimizable, and in either case it should be but this at
least let people use an easy API and enjoy future improvements.

* Fix clippies

---------

Co-authored-by: Theo Paris <theo@tinted.dev>
Co-authored-by: José Julián Espina <julian.espina@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-API Changes related to public APIs A-Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants