Search found 1 match

by ksubox
Sun Feb 21, 2010 7:14 pm
Forum: Common Lisp
Topic: Newbie: How to avoid allocation of locals ?
Replies: 3
Views: 3901

Newbie: How to avoid allocation of locals ?

Hi, I made test function to check behavior of Lisp for locals: (defun strinc (str cnt) (let ((lstr str)) (declare (integer cnt) (simple-base-string str) (simple-base-string lstr) (optimize (speed 3) (safety 3) (debug 3) (compilation-speed 0) (space 0))) (dotimes (i cnt) (setf lstr (prin1-to-string (...