continuing http://www.powerbasic.com/support/pb...ead.php?t=3924

i'm looking for some very fast code, probably using a combination of
api and inline asm to read both small and large files from a single-pc.
no need to worry about reading over networks, as i will implement
this differently. on a respectable ide type drive, i would expect
about 10mb/sec avg..
line input won't be appropriate as files will be of many types:
exe, com, doc etc... maybe a block read, like 16kb each block?
if so, i'd implement a fine-tune function that allows a user to
choose a blocksize most efficient with their hardware.
i'll be basically scanning files for specific strings. so a block
read may be faster when processing several hundred instr calls..
thanks,
- nathan
[this message has been edited by nathan evans (edited june 26, 2001).]

i'm looking for some very fast code, probably using a combination of
api and inline asm to read both small and large files from a single-pc.
no need to worry about reading over networks, as i will implement
this differently. on a respectable ide type drive, i would expect
about 10mb/sec avg..
line input won't be appropriate as files will be of many types:
exe, com, doc etc... maybe a block read, like 16kb each block?
if so, i'd implement a fine-tune function that allows a user to
choose a blocksize most efficient with their hardware.
i'll be basically scanning files for specific strings. so a block
read may be faster when processing several hundred instr calls..
thanks,
- nathan
[this message has been edited by nathan evans (edited june 26, 2001).]
Comment