Commit 3cd3d23
feat(allocator/vec2): align
Align with https://doc.rust-lang.org/src/alloc/raw_vec.rs.html#542-560, I saw performance shows a `0.1%` performance improvement.RawVec::reserve with standard library implementation (oxc-project#10701)1 parent 04e0390 commit 3cd3d23
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | | - | |
434 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
435 | 446 | | |
436 | 447 | | |
437 | 448 | | |
| |||
0 commit comments