in reply to Re: Re: Short (and clever?) CSV-to-AoA
in thread Short (and clever?) CSV-to-AoA

Mea culpa, I clearly missed the fact that you were transposing the table. But the other things stay.


1. Assigning in a for loop is something that goes automagically. If there is the need to assign to an array in something that already works on an array, that should ring a bell that something is inefficient there. Your for loop actually is an assignment and a conditional statement.That maybe nice for obfuscation (well, not really, but a bit maybe), but not cool IMHO.


3. As merlyn responded, you can rewrite that to a map, too.

Jeroen
"We are not alone"(FZ)