What I did was create a double-indirected list. I loaded up the values as a strict array of arrays, then had the column names hashed to the column index (0 .. #columns). If I had to rearrange the columns, I just had to switch the index numbers around. I also had an array of column names (for reverse indexing).
lsd
In reply to Re: golfing hash slices
by riffraff
in thread golfing hash slices
by sacked
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |