Changeset 900
- Timestamp:
- Feb 15, 2005, 6:14:26 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-0/l0-hash.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-0/l0-hash.lisp
r78 r900 1607 1607 (defun %hash-table-equalp (x y) 1608 1608 ; X and Y are both hash tables 1609 (let* ((test (hash-table-test x))) 1610 (and (eq test 1611 (hash-table-test y)) 1612 (eql (hash-table-count x) 1613 (hash-table-count y)) 1614 (block nil 1615 (let* ((default (cons nil nil)) 1616 (foo #'(lambda (k v) 1617 (let ((y-value (gethash k y default))) 1618 (unless (and (neq default y-value) 1619 (funcall test v y-value)) 1620 (return nil)))))) 1621 (declare (dynamic-extent foo default)) 1622 (maphash foo x)) 1623 t)))) 1609 (and (eq (hash-table-test x) 1610 (hash-table-test y)) 1611 (eql (hash-table-count x) 1612 (hash-table-count y)) 1613 (block nil 1614 (let* ((default (cons nil nil)) 1615 (foo #'(lambda (k v) 1616 (let ((y-value (gethash k y default))) 1617 (unless (and (neq default y-value) 1618 (equalp v y-value)) 1619 (return nil)))))) 1620 (declare (dynamic-extent foo default)) 1621 (maphash foo x)) 1622 t))) 1624 1623 1625 1624 (defun sxhash (s-expr)
Note:
See TracChangeset
for help on using the changeset viewer.
