Also, anyone know anything about double-buffering file streams?
So, basically, how I'd like it to work, is that ask for a read into
the buffer, and return instantly before the read is complete! The
user will process a previously made buffer. By the time he's finished
processing it, the last read will be complete. If not, we'll actually
just block until the read is complete.
Does fread offer such functionality? OR any standard Unix calls?
I'll bet I could speed up that demo I made which was 4x faster than
perl on my G5, to be 12x faster, if I added this feature!!
All of this will go into my new ElfDataStream class I'm making, for
within my ElfData plugin.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>