Commit 7f2f247
committed
feat(allocator/vec2): add specialized
A specialized version of `self.reserve(len, 1)` which requires the caller to ensure `len == self.capacity()`.grow_one method (oxc-project#9855)1 parent f400a11 commit 7f2f247
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
438 | 447 | | |
439 | 448 | | |
440 | 449 | | |
| |||
0 commit comments