Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
phkahler
on March 11, 2022
|
parent
|
context
|
favorite
| on:
Toward a better list iterator for the Linux kernel
The only reason we need to point to N-1 is to get access to its next pointer for doing deletes (in my case where I never scan the list backwards). So rather than point to N-1 it suffices to point directly at its next pointer.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: