3 ms·
Though one of the nice things about using indexes is that you can lookup multiple arrays with the same index. This can be very useful for performance to break u
by meheleventyone 8y ago
Though one of the nice things about using indexes is that you can lookup multiple arrays with the same index. This can be very useful for performance to break up a large data structure into smaller ones (e.g. to fit more elements in a cache line when you only use a subset of the structure for a complex operation) whilst still keeping their relationship intact. Further it’s also useful for all the reasons a relational database is in terms of querying data relationships.
- beagle3 8y agoIndeed. As a colleague of mine once noted, “eventually you write FORTRAN code, no matter what programming language you happen to do that in”.