[Openmcl-devel] Speeding up I/O

Ron Garret ron at flownet.com
Thu Jul 23 13:22:11 PDT 2009

Gotta learn to RTFM.  Looks like


is what I need.


On Jul 23, 2009, at 1:00 PM, Ron Garret wrote:

> I'm trying to crunch a semi-large file (~500MB) and just reading the
> data via (while (read-line f nil nil)) take about seven times longer
> than it does in, say, Python (73 seconds versus 12).  Is there some
> low-level I/O primitive that I can call that bypasses all the high-
> level stream stuff that would speed this up?  %ioblock-unencoded-
> character-read-vector maybe?  Or %ioblock-tyi?  Can I call these
> directly without screwing things up?
> rg
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel

More information about the Openmcl-devel mailing list