oxc-project / oxc-project/backlog
Improve `Vec2`
Open
@Dunqing is already working on this.
Since Mar 17, 2025.
A-ast
- Dominant language
- No language data
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The following tasks are for Vec, I intend to work on them in order.
- Speed up
pushby adding agrow_onemethod, like https://doc.rust-lang.org/src/alloc/raw_vec.rs.html#338-343 oxc-project/oxc#9855 oxc-project/oxc#9856 - Align initialize size of amortized strategy with standard implementation oxc-project/oxc#9857
- Clean up duplicate function/method by calling the standard library exposed https://github.com/oxc-project/oxc/pull/9860
- Rename
used_capandneeded_extra_capparams names tolenand additional` to make it like the same as the standard implementation does oxc-project/oxc#9858 - Improve methods according to the standard implementation one by one oxc-project/oxc#9752
- Remove ZSTs support
- Merge RawVec into Vec2 and change
lenandcaptou32oxc-project/oxc#10883 - Change
lenandcapfields fromusizetou32oxc-project/oxc#10884 - Removing
#[expect(...)]attr (not decide when to start, but it probably starts when all methods implementation has aligned withstd) - Add
&Arenainstead of&bumphttps://github.com/oxc-project/backlog/issues/199#issuecomment-3765255495 - Remove
Vec::try_methods. - Merge
VecandVec2into one
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.