Hacker News new | ask | show | jobs
by ta20200202 2324 days ago
RAII for references (pointers) is a no-op. If the cache returns references to the data in its own array there is no overhead.