Date: Tue, 24 Nov 2009 09:37:39 -0800 From: Joe Marshall <jmarsh...@alum.mit.edu>
It turns out that when you read a source code file that the inner loop of the parser does a lot of superfluous checking of PORT? Although PORT? is an inexpensive operation, it still involves an out-of-line call, and it gets called eleven times for each character of input. Hmm... How about caching the values of (port/operation/read-char port) and (port/operation port 'DISCRETIONARY-WRITE-CHAR) in the db, which should also avoid some ASSQ calls? _______________________________________________ MIT-Scheme-devel mailing list MIT-Scheme-devel@gnu.org http://lists.gnu.org/mailman/listinfo/mit-scheme-devel