(If I were to implement that as a proper array, I'd probably use an ArrayList, then just use `new ArrayValue(lst.toArray())` after populating said list.)You actually did "file to string[int]" - i.e., file to map of strings indexed by integer.
Most programs will not notice the difference, although it is (minutely) less efficient under the hood.
Do we want a native ArrayList datatype in ASH? We have arrays, and IIRC plural typed constants are immutable ArrayLists under the hood.
I don't find myself trying to write high-performance ASH, ever, so I'm not sure it's worth the effort (hence the presence in Scripting Discussion vs a Feature Request bug). Does anyone else?