Hacker News new | ask | show | jobs
by gpderetta 40 days ago
That's basically a AOS/SOA transformation (then packing the boolean valued array). You can have extremely cheap proxies in C++ so it is not much of an issue. The problem is that this proxy-optional wouldn't immediately interoperate with std::optional, but could interoperate with any generic code taking an optional-like value.
1 comments

froh: your reply was flagged for some reason! I tried to vouch it but it wasn't enough.
thank you