1. Re: New Project Problems

>If you want to read a file REALLY, REALLY fast, you can use doswrap.e:
Correct. For really large files, Jaquesch wrote this neat library:
Instead of having to check for an EOF each time, it will purge the whole
file (or much of it) into a memory cache. And then we have Euphoria convert
it in one pass, instead of many small ones. (because we need to check for an
EOF each time) ..

Maybe Robert, wants to optimize I/O. In such ways, that EOF the the
while-until-eof-block is completely optimized. Or supply a new
(machine_func) routine that purges a whole file at once.
For EDOM, one third of all time is spent on I/O.
The reason that reading is so much slower, than writing, is because I can
write in one long pass.
And the read speed of files are much more crucial for 99% of the programs.

Ralf

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu