Skip to content
  • rtoy's avatar
    Merge changes from unicode-string-buffer-impl-branch which gives · 392d3e59
    rtoy authored
    faster reads on external-formats.  This is done by adding an
    additional buffer to streams so we can convert the entire in-buffer
    into characters all at once.
    
    To build this change, you need to do a cross-compile using
    boot-2009-10-1-cross.lisp.  Using that build, do a normal build with
    these sources.
    
    For a non-unicode build use boot-2009-10-01.lisp with a 20a
    non-unicode build.
    
    code/extfmts.lisp:
    o Add another slot to the extfmts for copying the state.
    o Modify EF-OCTETS-TO-STRING and OCTETS-TO-STRING to support the
      necesssary changes for fast formats.  This is incompatible with the
      previous version because the string is not grown if needed.
    
    code/fd-stream-extfmt.lisp:
    o Set *enable-stream-buffer-p* to T so we have fast streams.
    
    code/fd-stream.lisp:
    o Add new slots to support fast strams.
    o In SET-ROUTINES, initialize the new slots appropriately.
    o Update UNREAD-CHAR to be able to back up in the string buffer to
      unread.
    o Add implem...
    392d3e59