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

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

Merged
merged 6 commits into from
Sep 9, 2024

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.

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 enhancement New feature or request API labels Sep 9, 2024
@HalidOdat HalidOdat added this to the next-release milestone Sep 9, 2024
@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
14 checks passed
@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 <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants