bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] Internal storage of iota


From: Blake McBride
Subject: [Bug-apl] Internal storage of iota
Date: Sun, 27 Apr 2014 11:27:24 -0500

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]