New function - makelist alternative: table()ing Lisp ECL 9.4.1
Subject: New function - makelist alternative: table()ing Lisp ECL 9.4.1
From: Richard Fateman
Date: Sun, 10 May 2009 15:58:54 -0700
I'm surprised that create_list is used so heavily in a Maxima program.
If so, it seems that other possibilities, like creating
arrays or vectors might be advantageous. (It depends on what operations
are most common -- e.g. if pre-pending to a list
is common, then a list is good. If indexing into the middle of a
sequence is common, then an array is better.)
Anyway, an alternative to create_list might be using something that
creates an array.
I once again suggest that the common lisp loop macro in all its glory be
looked at as a source of inspiration.
RJF