Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A common technique is to use a "struct of arrays" approach, rather than an "array of structs"

This can save a lot on padding, and greatly increase the cache efficiency



Unless you have a tag column that's not the same thing




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: