given the following:
(set 'l '( 1 2 3 4 5 6 7 8))
;; I'd like to process 'l two elements at a time:
;; which is more efficient?
;; 1)
Code Select
(dolist (x (explode l 2)) (code-here x))
;; 2)
Code Select
(set 'l1 (explode l 2))
(dolist (x l1) (code-here x)
;; OR is there a more efficient way than using 'explode?
;; Also, any links to similar topics regarding loop
;; optimization would be warmly welcomed
Cheers
Tim