summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-20 07:47:16 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-20 07:47:16 -0700
commit6aececdf6040e26fef0bb634e832883943a4f1d0 (patch)
treede34f9fd89a67ad6925ab4b0da3b575ab3527b4c /lib.h
parent7a9ab728565c650e0631744e79e7e8a77f57e347 (diff)
downloadtxr-6aececdf6040e26fef0bb634e832883943a4f1d0.tar.gz
txr-6aececdf6040e26fef0bb634e832883943a4f1d0.tar.bz2
txr-6aececdf6040e26fef0bb634e832883943a4f1d0.zip
equal: reduce type checking for conses.
* lib.c (equal): Since we have switched on the type of the left and right argument, we can access the object directly instead of going through car and cdr. Except that for a lazy conses, we need at least one such access to force the object first.
Diffstat (limited to 'lib.h')
0 files changed, 0 insertions, 0 deletions