charset

Constant summary
+probe-depth+ 3
Structure summary
charset
Method summary
make-load-form (set charset) &optional environment
Function summary
add-to-charset char set
all-characters set
charset-count charset
charset-depth charset
charset-p object
charset-vector charset
compute-index hash vector
copy-charset charset
in-charset-p char set
make-char-vector size
make-charset &key (depth +probe-depth+) (count 0) (vector (make-char-vector 12))
merge-set set1 set2 &optional invertedp
mix code hash
%add-to-charset char set
%add-to-charset/expand char set
charset    [Structure]
charset-vector   charset  [Function]

Returns and (with setf) changes the vector of the specified charset

charset-count   charset  [Function]

Returns and (with setf) changes the count of the specified charset

charset-depth   charset  [Function]

Returns and (with setf) changes the depth of the specified charset

make-charset   &key (depth +probe-depth+) (count 0) (vector (make-char-vector 12))  [Function]

Returns a newly created charset.

copy-charset   charset  [Function]

Returns a copy of the specified charset.

charset-p   object  [Function]

Returns T if the specified object is of type charset.

+probe-depth+   3  [Constant]

Maximum number of collisions (for any element) we accept before we allocate more storage. This is now fixed, but could be made to vary depending on the size of the storage vector (e.g. in the range of 1-4). Larger probe-depths mean more collisions are tolerated before the table grows, but increase the constant factor.

make-load-form   (set charset) &optional environment  [Method]
make-char-vector   size  [Function]

Returns a vector of size SIZE to hold characters. All elements are initialized to #Null except for the first one which is initialized to #?.

mix   code hash  [Function]

Given a character code CODE and a hash code HASH, computes and returns the "next" hash code. See comments below.

compute-index   hash vector  [Function]

Computes and returns the index into the vector VECTOR corresponding to the hash code HASH.

in-charset-p   char set  [Function]

Checks whether the character CHAR is in the charset SET.

add-to-charset   char set  [Function]

Adds the character CHAR to the charset SET, extending SET if necessary. Returns CHAR.

%add-to-charset   char set  [Function]

Tries to add the character CHAR to the charset SET without extending it. Returns NIL if this fails.

%add-to-charset/expand   char set  [Function]

Extends the charset SET and then adds the character CHAR to it.

all-characters   set  [Function]

Returns a list of all characters in the charset SET.

merge-set   set1 set2 &optional invertedp  [Function]

Returns the "sum" of two charsets. This is a destructive operation on SET1. If INVERTEDP is true, merges the "inverse" of SET2 into SET1 instead.