logoalt Hacker News

pjc50yesterday at 1:10 PM1 replyview on HN

Single page on many systems, which makes using mmap() for it even funnier.


Replies

Filligreeyesterday at 1:57 PM

Not to mention inefficient in memory use. I would have expected a mention of interning; using string-views is fine, but making it a view of 4kB cache pages is not really.

Though I believe the “naive” streaming read could very well be superior here.