Skip to content
Snippets Groups Projects
Commit 2a561f33 authored by rtoy's avatar rtoy
Browse files

Make the reader faster when reading #1= constructs when there are lots

of them.  Use hash tables instead of an alists for holding and
constructing the necessary objects.  This can vastly speed up the
reader in some cases.  But unfortunately it slows down the reader when
the circular structure is "small".

Some care has been taken not to make the reader slow when there are
now #= constructs.

This is based on a patch from Jared Davis.

reader.lisp:
o Add the new hash tables and initialize them appropriately.

sharpm.lisp:
o Update #= and ## macros to use the new hash tables.
parent 7b4e865e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment