- Mar 10, 2003
-
-
gerd authored
Treat NIL as a symbol, to produce the same result as the DEFTRANSFORM for sxhash/symbol in c:generic/vm-tran.lisp.
-
- Nov 28, 2002
-
-
pmai authored
This commit is a slight rewrite of the previously committed fix, which sxhash-instance work even when handed non-PCL instances and funcallable-instances, while enabling the use of stored hash-codes for all PCL funcallable-instances.
-
- Nov 21, 2002
-
-
pmai authored
Committed a slightly reworked patch by Gerd Moellmann that introduces new hash-code slots into (funcallable-)standard-instances, which get initialized to persistent, sequential numbers upon instance creation, thus providing better sxhash/equal hashing.
-
- Jul 10, 2002
-
-
toy authored
* (pcl:class-precedence-list (find-class 'null)) should have symbol occurring before list, as per CLHS. * minor changes to certain error conditions: eg trying to set DEFAULT-DIRECTORY to a non-existent directory should raise a condition of type FILE-ERROR. (Some of these changes are from Alexey Dejneka, via SBCL). * cleanup of some Hemlock-related symbols that shouldn't be exported when :no-hemlock is defined.
-
- Mar 30, 2001
-
-
pw authored
internal-sxhash doesn't deal correctly with strings that have fill pointers; consequently, equal hash tables don't work correctly either. >From 18c: *(defvar foo (make-array 32 :element-type 'base-char :adjustable t :fill-pointer 7)) FOO * (setf (subseq foo 0) "typedef") "typedef" * (sxhash foo) 182883518 * (sxhash "typedef") 194663162 * (defvar h (make-hash-table :test #'equal)) H * (setf (gethash foo h) 'bar) BAR * (gethash "typedef" h) NIL NIL Attached is a fix. Tim
-
- Nov 04, 2000
-
-
dtc authored
from Eric Marsden.
-
- Jul 06, 2000
-
-
dtc authored
causing problems: o Redefine coerce-to-values to convert a single value type into (values type), rather than the former definition (values type &rest t). A single value type such as fixnum is now equivalent to (values fixnum). Values-type-union and values-type-intersection will canonicalise values types with a single value such as (values fixnum) back to a single value type such as fixnum. o Now when the compiler makes assertions for the first value of continuations that may be generating multiple values it asserts the type as (values type &rest t), or as (value &optional type &rest t) if it is not sure that the continuation does generate a value. o Enhance the type check generation to better handle the now common values types with optional and rest arguments. Add the new function Values-types-asserted which converts asserted optional and rest arguments to required arguments that have been proven to be delivered, Thus an assertion such as (values &optional fixnum &rest t) will generate a fixnum type check if the proven type if (values t). o The compiler is now far more likely to pickup attempts to use an assertion to select a subset of values. For example (the (values fixnum) (values x y)) will generated a compiler warning. o Update single values type assertions where appropriate to clarify that the received values may be optional or that multiple values may be received. For example, a macro argument which had been asserted to be a list via (the list ,...) would now be asserted to be (the (values &optional list &rest t)) etc. o Have the IR1 translator for THE convert single value types into (values &optional type &rest t) so that code such as (the fixnum (values x y)) will still work acceptably. This does not restrict the possible type assertions as the values types may be used and are not modified.
-
dtc authored
using a single value type assertion following values '(the index (values ...)), use a multiple values types assertion '(the (values index t) ...), which is simpler for the compiler.
-
dtc authored
only the first value.
-
- Jan 16, 2000
-
-
dtc authored
fill-pointer must be respected for vectors but was being ignored for some vector types.
-
- Jan 15, 2000
-
-
dtc authored
string and simple-vectors were giving a different hash to the other vector types.
-
- Jan 14, 2000
- Jan 13, 2000
-
-
dtc authored
work of William H. Newman and Cadabra Inc. Special case characters within sxhash returning the character code rather than returning a constant, as per the new equalp-hash. Declare hash-table-count and hash-table-size inline so they compile to inline slot accesses.
-
dtc authored
consistent with the integer sxhash transform.
-
dtc authored
to be compiled to fast native code, and to make use of the sign bit. Fix and update the sxhash double-float transform to be consistent. Add a transform for the sxhash of long-floats.
-
- Dec 04, 1999
-
-
dtc authored
-
- Jul 31, 1998
-
-
dtc authored
with-hash-table-iterator macro, giving improved performance; from Bill Newman.
-
- Jul 02, 1998
-
-
dtc authored
when an entry was found in which case it should return True. Bug spotted by Bill Newman.
-
- Mar 21, 1998
-
-
dtc authored
-
- Nov 03, 1997
-
-
dtc authored
efficiency and solve problems with rehashing during hash traversal.
-