[Openmcl-devel] slow read-char
Gail Zacharias
gz at clozure.com
Thu Jul 20 03:38:37 PDT 2006
At 7/20/2006 06:15 AM, Gary Byers wrote:
>The good news is that I was able to get about a 3X speedup of a test
>case that READ-CHARs 2M characters from a file by making things like
>OPEN and MAKE-SOCKET accept a :PRIVATE argument (which effectively
>makes the resulting stream permanently locked by the calling thread
>and eliminates the per-character locking overhead);
Does it actually prevent the stream from being used by other threads?
It would be useful to have streams that are usable in multiple threads
but just assume that locking happens at a higher level.
More information about the Openmcl-devel
mailing list