Re: Corman Lisp 2.01 release

Edi Weitz <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
"Roger Corman" <[email protected]> writes:

> I have released Corman Lisp 2.01 for download, which is a minor
> update release of Corman Lisp 2.0.
>
> [...]
>
> Here is a link to the release notes for 2.01:
> http://www.cormanlisp.com/CormanLisp/CormanLisp_2_01_Release_notes.txt

Great!

It looks like the improvements to CHAR= and STRING= have a significant
impact on my CL-PPCRE stuff. Here are some examples:

(defun tester (scanner string n)
  (loop for i of-type fixnum below n
        do (cl-ppcre:scan scanner string)))


(let ((s (make-string 10000 :initial-element #\a)))
  (time (tester (cl-ppcre:create-scanner "a*") s 1000))
  (time (tester (cl-ppcre:create-scanner "(aaaaaaaaaa)*") s 1000)))

Corman Lisp 2.0:

Total Execution time: 4.541558 seconds
Time spent garbage collecting: 0.969041 seconds
Total Execution time: 5.897712 seconds
Time spent garbage collecting: 1.003673 seconds
NIL

Corman Lisp 2.01:

Total Execution time: 1.389214 seconds
Time spent garbage collecting: 0.0 seconds
Total Execution time: 2.705876 seconds
Time spent garbage collecting: 0.0 seconds
NIL


(let ((s (concatenate 'string (make-string 10000 :initial-element #\a) "foobarbaz")))
  (time (tester (cl-ppcre:create-scanner "a*") s 1000))
  (time (tester (cl-ppcre:create-scanner "(aaaaaaaaaa)*") s 1000))
  (time (tester (cl-ppcre:create-scanner "a*foobarbaz") s 1000))
  (time (tester (cl-ppcre:create-scanner "(aaaaaaaaaa)*foobarbaz") s 1000)))

Corman Lisp 2.0:
    
Total Execution time: 4.624212 seconds
Time spent garbage collecting: 1.028072 seconds
Total Execution time: 5.940836 seconds
Time spent garbage collecting: 1.040384 seconds
Total Execution time: 15.737886 seconds
Time spent garbage collecting: 2.685488 seconds
Total Execution time: 17.806352 seconds
Time spent garbage collecting: 3.008835 seconds
NIL

Corman Lisp 2.01:

Total Execution time: 1.398983 seconds
Time spent garbage collecting: 0.0 seconds
Total Execution time: 2.70835 seconds
Time spent garbage collecting: 0.0 seconds
Total Execution time: 8.797484 seconds
Time spent garbage collecting: 0.432608 seconds
Total Execution time: 10.113634 seconds
Time spent garbage collecting: 0.434629 seconds
NIL

Very good... :)

Cheers,
Edi.

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.