• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

RandomAccessFile is it more compatible for application prg

 
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I tried to use RandomAccessFile for instant access of vaiables to get deployed in methods of an application prg to derive a solution.
Is it efficient enough or not.If not what other storage media files to be used . In C++ program use of files is very fast and more robus during run time ,
May i request someone for any guidelines on this.

Thanks
As
CRMK
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Efficient enough for what purpose? It sounds as if you have already implemented it - does it do what you need done? If not, how is it lacking?
 
Comal Rajagopalaratnam Muthukumar
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Efficient enough for what purpose? It sounds as if you have already implemented it - does it do what you need done? If not, how is it lacking?



Hi
What is the common usage in java normally as compared in c++ which is not random but more quicker .
As
CRMK
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Again, the common usage for what purpose? Remember that we have no idea what you are trying to accomplish. If you need random access, then you need random access, and nothing else will do; do you need random access? If not, reading a file sequentially -using FileInputStream- may be faster.
 
Comal Rajagopalaratnam Muthukumar
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Again, the common usage for what purpose? Remember that we have no idea what you are trying to accomplish. If you need random access, then you need random access, and nothing else will do; do you need random access? If not, reading a file sequentially -using FileInputStream- may be faster.





Hi

No matter for your kind help whether rendered in full or partially to my question.



Thanks .

As
CRMK


 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I doubt anyone will be willing to go through 600 lines of code just because you think there might be ways to improve it. Please be much more precise in what you're asking, and remove all the code that is not directly related to the question.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic