[Openmcl-devel] Speeding up I/O

Andrew Shalit alms at clozure.com
Thu Jul 23 20:19:54 UTC 2009


Have you tried this?

http://ccl.clozure.com/ccl-documentation.html#Memory-Mapped-Files


On Jul 23, 2009, at 4: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