Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
direwolf20
16 days ago
|
parent
|
context
|
favorite
| on:
I built a 2x faster lexer, then discovered I/O was...
This is a (3) man page which means it's not a syscall. Have you checked it doesn't call lstat on each file?
stabbles
16 days ago
[–]
Fair,
https://www.man7.org/linux/man-pages/man2/getdents64.2.html
is a better link. You'd have to call lstat when d_type is DT_UNKNOWN
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: