Comment 0 for bug 1171223

Revision history for this message
Paul Khuong (pvk) wrote :

It would be nice LENGTH of lists could detect circular lists. Currently, we have assemble VOPs to compute LENGTH (… really). It seems to me we could make everything simpler by instead calling to a regular CL function (e.g. %list-length) via a VOP. There doesn't even have to be a huge penalty to detect circular lists: we can easily switch call out to CL:LIST-LENGTH once the length is greater than a couple thousand conses.