I Prefer Unit Indexer if the spell was complicated (or I'm lazy), if not, I'll just go with the indexing.
Group Loop is pretty heavy for operations, Albeit being one of the easiest way to create, it's pretty slow compared to indexing.
Better use Linked List than Dynamic Indexing or Indexed Arrays actually.