[Openmcl-devel] Speeding up I/O

Ron Garret ron at flownet.com
Thu Jul 23 13:00:26 PDT 2009


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




More information about the Openmcl-devel mailing list