Y
Hacker News
new
|
ask
|
show
|
jobs
by
Myrth
3289 days ago
I wonder if ram fs would perform exact the same as sqlite in memory.
2 comments
DaiPlusPlus
3289 days ago
The article speculates that the overhead of calling `fopen` for each file and subsequently reading it is more expensive than reading from an already opened database file.
But as for how expensive `fopen` is really depends many factors.
link
kccqzy
3289 days ago
I would believe ramfs would be slower, as there will be additional system calls needed.
link
But as for how expensive `fopen` is really depends many factors.