Y
Hacker News
new
|
ask
|
show
|
jobs
by
masklinn
880 days ago
This like most issues with slices stem directly from them pulling double duty as vectors.
Capacity being conserved by slicing is important to the “slice tricks” of removing items, I assume.