TR: [cl-ppcre-devel] New release 1.2.4

Gary King gwking at metabang.com
Tue Mar 8 19:43:36 UTC 2005


I suggest taking a page from GBBopen's book and using something like:

(defmacro with-standard-optimization (&body body)
   `(locally (declare (optimize (speed 1) (safety 3) (debug 1)))
      , at body))

(defun foo ()
   (with-standard-optimization
     ...))

this has the advantage of not requiring the read time evaluation of #. 
which some view as a security risk.

On Mar 8, 2005, at 2:30 PM, Edi Weitz wrote:

>> New code: (EVAL-WHEN (EVAL COMPILE LOAD)
>>                    (DEFVAR *STANDARD-SPEED-AND-SAFETY*
>>                            '((SPEED 0) (SAFETY 3))))
>>                  (DEFUN FOO ()
>>                    (DECLARE (OPTIMIZE #.*STANDARD-SPEED-AND-SAFETY*))
>>                    ...)
>
>
-- 
Gary Warren King, Lab Manager
EKSL East, University of Massachusetts * 413 577 0176

“Hope is not a course of action.”
   -- a retired four-star general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 948 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-ppcre-devel/attachments/20050308/94847259/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2367 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-ppcre-devel/attachments/20050308/94847259/attachment-0001.bin>


More information about the Cl-ppcre-devel mailing list