3 ms·
What if the index has some meaning to my calculations? What if I'm indexing parallel arrays? These both happen all the time in my python scripts.
by jimmaswell 10y ago
What if the index has some meaning to my calculations? What if I'm indexing parallel arrays? These both happen all the time in my python scripts.
- seanwilson 10y agoI said "for lots of domains". Obviously you have to use indices in some code but if it's possible to avoid using indices it's usually a good idea (e.g. using iterators over a standard for loop).