On Oct 18, 11:42 am, Alexander Kjeldaas <
alexander.kjeld...@gmail.com>
wrote:
In moving to ahead-of-time compilation there are now limits to the
size of data structures that can be embedded in code, since they have
to be included in the class files. In most cases, large data
structures can be saved separately and then read, with read. For the
case above, which is just the representation of a data literal as a
string, I've also added read-string:
(read-string
(format "(%s)"
(nth (iterate #(format "%s%s" % %) "(1 2 3 4)") 13)))
The reader is a fine and sufficient tool for reading data structures -
there's no need to involve the compiler. load should be reserved for
for code from now on.
Rich