Activity log for bug #1171223

Date Who What changed Old value New value Message
2013-04-21 19:31:06 Paul Khuong bug added bug
2013-04-21 19:43:05 Paul Khuong description 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. It would be nice LENGTH of lists could detect circular lists. Currently, we have assembly 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 deftransform. 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.
2013-04-21 19:43:17 Paul Khuong description It would be nice LENGTH of lists could detect circular lists. Currently, we have assembly 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 deftransform. 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. It would be nice LENGTH of lists could detect circular lists. Currently, we have assembly 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 deftransform. There doesn't even have to be a huge penalty to detect circular lists: we can easily call out to CL:LIST-LENGTH once the length is greater than a couple thousand conses.
2020-01-19 03:27:24 Andrew attachment added 0001-Ensure-type-error-is-thrown-when-length-is-called-wi.patch https://bugs.launchpad.net/sbcl/+bug/1171223/+attachment/5321484/+files/0001-Ensure-type-error-is-thrown-when-length-is-called-wi.patch
2020-01-19 03:27:35 Andrew tags easy library easy library review