Use `<Box<[T; N]> as IntoIterator>::IntoIter` to avoid an expensive copy when calling `into_iter` on HeapArray.

Open Beginner friendly
#2 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust
Domain
tooling

Research direction

Start at HeapArray's into_iter implementation and compare it with the approach described in rust-lang/rust#134021. Verify that iteration no longer performs the expensive array copy, then run the crate's existing tests to confirm behavior is unchanged.

Written by the indexing model from the issue text.

Description

enhancement

into_iter should use the new implementation in https://github.com/rust-lang/rust/pull/134021 to avoid an expensive array copy.

Dominant language
Rust
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.