Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
turminal
on Jan 23, 2021
|
parent
|
context
|
favorite
| on:
But how, exactly, do databases use mmap?
This is impossible without significant performance impact. No language can change that.
Edit: except theoretically for data structures that have certain characteristics known in advance
amelius
on Jan 23, 2021
|
next
[–]
Well, one approach is to parameterize your data-types such that they are fast in the usual case, but become perhaps slightly slower (but still on par with hand-written code) in the more versatile case.
gpderetta
on Jan 24, 2021
|
prev
[–]
Boost.interproces does exactly that for the STL.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Edit: except theoretically for data structures that have certain characteristics known in advance