4 ms·
Many-to-many relationships come with their own overhead -- you use additional resources for foreign keys, indexes, etc. If your data is seldom updated (or not
by plq 13y ago
Many-to-many relationships come with their own overhead -- you use additional resources for foreign keys, indexes, etc.
If your data is seldom updated (or not that big), not used for database operations, and having it all in memory is fine, it can be better to use native arrays.
- deno 13y agoIt’s hard to tell how big of an advantage this is, if any, without some actual data.