On Thu, 25 Mar 1999, Shannon wrote:

> I am contemplating an application which will do lookups on a large block of
> data (possibly greater than 1MB). Ideally, I would like to use
> filestreaming. There will be no write operations to the file stream, only
> reading, so synchronization is not an issue.
> 
> I want to know if it is possible to build a file on the desktop that could
> get installed and then read as a file stream?

Yes, but Palm is saying the format may change and doesn't really support
any kind of synchronization wiht FileStreaming.

What would be better, though a few more lines of code, is to simply create
a database structure.  If it is a true stream, then you can do 4K chunks.
If there are more convienient record boundaries, then make each record
something like a letter if it is that type of index.  Then use the record
number to locate the record, and then index into the record.

Also take a look at makedoc since it builds databases, and although it
doesn't use streams, it emulates them.


Reply via email to