Greetings,
Back when I coded in APL, there was discussion about the storage of iota. For example:
a←⍳1000000
b←66+⍳1000000
c←6.2×4+⍳1000000
d←5+b
All of these can be represented as a simple equations internally rather than expanding it all out. It would only be expanded when absolutely necessary. This is incredibly more time and space efficient.
Just passing on some ideas.
Thanks.
Blake