Changeset 13302
- Timestamp:
- Dec 17, 2009, 6:53:50 AM (15 years ago)
- Location:
- branches/working-0711/ccl
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
level-1/l1-readloop.lisp (modified) (2 diffs)
-
lib/source-files.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl
- Property svn:mergeinfo changed
/trunk/source merged: 13193-13195,13199,13201,13204,13237
- Property svn:mergeinfo changed
-
branches/working-0711/ccl/level-1/l1-readloop.lisp
r13092 r13302 684 684 (and defenv (eq 'compile-file (car (defenv.type defenv)))))) 685 685 686 ;; This is EVAL. 686 687 (defun cheap-eval (form) 687 (cheap-eval-in-environment form nil)) 688 ;; Don't record source locations for explicit calls to EVAL. 689 (let ((*nx-source-note-map* nil)) 690 (cheap-eval-in-environment form nil))) 688 691 689 692 ; used by nfcomp too … … 816 819 (cheap-eval-in-environment protected-form env)) 817 820 (progn-in-env cleanup-forms env env))) 818 (funcall (cheap-eval-function nil (cheap-eval-transform form `(lambda () (progn ,form))) env)))) 821 (let ((fn (cheap-eval-function nil (cheap-eval-transform form `(lambda () (progn ,form))) env))) 822 (funcall fn)))) 819 823 ((and (symbolp sym) (macro-function sym env)) 820 824 (cheap-eval-in-environment (cheap-eval-macroexpand-1 form env) env)) -
branches/working-0711/ccl/lib/source-files.lisp
r13070 r13302 47 47 ;; This used to be weak, but the keys are symbols-with-definitions, so why bother. 48 48 ;; Set a high rehash threshold because space matters more than speed here. 49 ;; Do not use lock-free hash tables, because they optimize reads at the expense of 50 ;; writes/rehashes. Writes/rehashes affect file-compilation speed, which matters. 49 51 (defvar %source-files% (make-hash-table :test #'eq 50 :size 13000 51 :rehash-threshold .95)) 52 :size 14000 53 :rehash-size 1.8 ;; compensate for high threshold 54 :rehash-threshold .95 55 :lock-free nil)) 56 52 57 53 58
Note:
See TracChangeset
for help on using the changeset viewer.
