Hacker News new | ask | show | jobs
by vbezhenar 2784 days ago
You can also use vector of vectors. Reallocating would be cheaper. But access would incur extra indirection.