Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    2a561f33
    Make the reader faster when reading #1= constructs when there are lots · 2a561f33
    rtoy authored
    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.
    2a561f33
    History
    Make the reader faster when reading #1= constructs when there are lots
    rtoy authored
    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.