Paul Eggert writes: > We could probably speed up the cycle checking somewhat, but that's a different > topic. On that topic, I recently tried using SMALL_LIST_LEN_MAX for memq and list_length similarly to nth/elt. WDYT? For small lists it seems to be faster, but for longer lists it seems to be slower (maybe that's due to the branch predictor in my simple benchmark-run-compiled tests).