diff options
author | Andy Wingo <wingo@pobox.com> | 2011-05-05 15:13:08 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2011-05-05 23:07:37 +0200 |
commit | 3b7f4ba37b41a4db80fc60ef7324d5c1e27944c1 (patch) | |
tree | 1ca08ee5c0271e00baa2eb489ab0aabc7942167f /libguile/gc-malloc.c | |
parent | 3009b93e9b7d14edebedde6dc28539917b556344 (diff) | |
download | guile-3b7f4ba37b41a4db80fc60ef7324d5c1e27944c1.tar.gz |
scm_mem[qv] optimization
* libguile/list.c (scm_memq, scm_memv): Inline the tortoise/hare check
that scm_ilength does, via SCM_VALIDATE_LIST, into the memq/memv
bodies. Avoids traversing these lists twice.
Diffstat (limited to 'libguile/gc-malloc.c')
0 files changed, 0 insertions, 0 deletions