[Openmcl-devel] It's too long to take in READ-LINE !

Xiaofeng Yang n.akr.akiiya at gmail.com
Wed Jan 18 12:43:01 UTC 2012


I created a simple file with just full of spaces and has size 1MB. Then I
opened it and read it using READ-LINE. It takes more than 1 minutes !!!

CL-USER> (lisp-implementation-type)
"Clozure Common Lisp"
CL-USER> (lisp-implementation-version)
"Version 1.8-dev-r14962-trunk  (WindowsX8632)"

The time I took in READ-LINE:
(READ-LINE F NIL) took 67,439 milliseconds (67.439 seconds) to run
                    with 8 available CPU cores.
During that period, 63,391 milliseconds (63.391 seconds) were spent in user
mode
                    2,921 milliseconds (2.921 seconds) were spent in system
mode
23,977 milliseconds (23.977 seconds) was spent in GC.
 17,185,637,938 bytes of memory allocated.

     Best regards,
Xiaofeng Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20120118/5454664e/attachment.html>


More information about the Openmcl-devel mailing list