Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
username223
71 days ago
|
parent
|
context
|
favorite
| on:
Under the hood: Vec<T>
The vector implementation on my machine uses three pointers: start, end, and end-of-storage. It's basically the same, but uses addresses rather than counts. The valarray implementation uses a pointer and a single count.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: