bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Internal storage of iota


From: Blake McBride
Subject: Re: [Bug-apl] Internal storage of iota
Date: Sun, 27 Apr 2014 12:29:53 -0500

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 <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]