Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
e12e
on Nov 5, 2023
|
parent
|
context
|
favorite
| on:
Building a high performance JSON parser
If you can live with "fits on disk" mmap() is a viable option? Unless you truly need streaming (early handling of early data, like a stream of transactions/operations from a single JSON file?)
mannyv
on Nov 5, 2023
[–]
In general, JSON comes over the network, so MMAP won't really work unless you save to a file. But then you'll run out of disk space.
I mean, you have a 1k, 2k, 4k buffer. Why use more, because it's too much work?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: