From b9ce72b4d4c1b388f78e860f70c17fb6bf087cf3 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Sat, 27 Jun 1992 21:41:22 +0000 Subject: [PATCH] Added some type declarations so that a call to make-array gets open coded. --- code/hash.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/hash.lisp b/code/hash.lisp index aade9a868..bfd0bb606 100644 --- a/code/hash.lisp +++ b/code/hash.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash.lisp,v 1.17 1992/05/16 16:12:44 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/hash.lisp,v 1.18 1992/06/27 21:41:22 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -165,6 +165,8 @@ (let* ((size (ceiling size rehash-threshold)) (length (if (<= size 37) 37 (almost-primify size))) (vector (make-array length :initial-element nil))) + (declare (type index size length) + (type simple-vector vector)) (%make-hash-table :test test :test-fun test-fun -- GitLab