I'd like to add that things like:

v←c[500]

would not cause an expansion, but things like:

c[500]←44

would.




On Sun, Apr 27, 2014 at 11:27 AM, Blake McBride <blake1...@gmail.com> wrote:

> 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
>
>

Reply via email to