Commit [498ec5]  Maximize  Restore  History

[N]BUTLAST perform a single pass over the list

The old code would first count the number of conses, and then
SUBSEQ/(RPLACD/NTHCDR). Instead traverse the list with two offset
pointers that advance in lockstep.

Based on a patch by Johan Andersson, on lp#1245697.

Paul Khuong Paul Khuong 2013-11-04

changed NEWS
changed src/code/list.lisp
NEWS Diff Switch to side-by-side view
Loading...
src/code/list.lisp Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks