Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
senderista
5 days ago
|
parent
|
context
|
favorite
| on:
Growing Buffers to Avoid Copying Data
I don't really understand the point of all this (on Linux). Just mmap(2) a virtual address range as large as you think you will ever need and let demand paging do the rest. No need to explicitly reallocate anything.
remram
5 days ago
[–]
This means every buffer uses 4k (page size) minimum of RAM. Sounds very wasteful.
reply
senderista
5 days ago
|
parent
[–]
I mean, it depends...
reply
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: