Not all devices have external storage, right? If so, then I should not be
taking any chance on that, right? By the way, what's the benefit of using
VFS in addition to having the capacity of storing a file larger than 64K?
>From my understanding, use of VFS can slow down the performance in
accessing/reading/searching data, right? So, it's better to use resource
database instead and break down the file into 64K chunks (iff possible).
Please advice.

Thanks,
MN

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [ a | x ]
- Peter Alex
Sent: Thursday, June 24, 2004 10:27 PM
To: Palm Developer Forum
Subject: RE: memory-mapping a file on Palm OS 5.0 or later

Where will you put it? internal or external storage?
So far i have tried to work with large file and put in
external card then access using VFS as raw data. some
reference suggest me to work like that and its fine
for me.

any other idea?

Peter 
--- Mohammad M Nur <[EMAIL PROTECTED]> wrote:
> Hi Alan,
> 
> Thanks for your reply. Well, that could be an option
> (I am not sure). Let me
> ask some more questions. From my understanding, File
> Streaming APIs are
> built over the Database System, which means it uses
> underlying Database APIs
> and provides a file view for user convenient. As a
> result, using File APIs
> would be slower than using Database. So do you think
> I should break down the
> file into 64K chunks to make things
> (access/read/search) faster?
> 
> Please let me know if I misunderstood/misinterpreted
> the basic concept.
> 
> Thanks,
> Mohammad
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Alan
> Ingleby
> Sent: Thursday, June 24, 2004 5:16 PM
> To: Palm Developer Forum
> Subject: Re: memory-mapping a file on Palm OS 5.0 or
> later
> 
> "Mohammad M Nur" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > I need to store a large data file (about 5MB) as a
> part of my application
> > and need to search and retrieve data very fast. I
> wonder if I could
> > memory-map that big file somehow for faster
> access. My target Palm OS is
> 5.x
> > or later. Please advice.
> 
> Have you considered the File Streaming APIs?
> 
> Alan
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/
> 
> -- 
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
> http://www.palmos.com/dev/support/forums/
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to