[Rd] slightly speeding up readChar()

Dirk Eddelbuettel edd at debian.org
Fri Aug 5 01:20:24 CEST 2011


On 5 August 2011 at 00:15, Michael Lachmann wrote:
| > I'm not sure it's really worth bothering with such optimizations, on my machine I get
| 
| No it isn't worth it, you're right. Though 100MB is much smaller than my average file size. But you're right, readChar is quite efficient.

When you know the (fixed) structure of the data, the CRAN package mmap can be
a huge winner.

Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
                      -- #11 at http://www.gaussfacts.com



More information about the R-devel mailing list