[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
issue BOGUS-FIXNUMS (initial draft)
- To: sandra%cdr@cs.utah.edu
- Subject: issue BOGUS-FIXNUMS (initial draft)
- From: gz@spt.entity.com (Gail Zacharias)
- Date: 12 Jul 88 18:01:06 EDT (Tue)
- Cc: cl-cleanup@sail.stanford.edu
- In-reply-to: <8807111728.AA22729@cdr.utah.edu>
It is not uncommon for a program to find itself with an object which is known
to be either a small integer or, say, a string or a list. In such cases
(typep x 'fixnum) is likely to more efficient than either (typep x 'integer)
or (typep x '(integer 0 1000)), and it's an optimization that a compiler can't
do for you.