Function: sxhash-equal

sxhash-equal is a function defined in fns.c.

Signature

(sxhash-equal OBJ)

Documentation

Return an integer hash code for OBJ suitable for equal.

If (equal A B), then (= (sxhash-equal A) (sxhash-equal B)), but the opposite isn't necessarily true.

Hash codes are not guaranteed to be preserved across Emacs sessions.

View in manual

Probably introduced at or before Emacs version 26.1.

Aliases

sxhash

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  return reduce_emacs_uint_to_fixnum (sxhash (obj));
}