G
G.D.
Hi,
I'm using a third-party library which writes some useful
information into a file. In order to do so, I just have
to pass a file name to a library function and the file
gets written.
The problem is that I need the information that has been
written to the file immediately. I other words, the library
writes the info to a file (on disk) and my code reads this
file immediately afterwards, which makes writing the data
on the disk a waste of time.
I was wondering if there is a (ideally standardized and portable)
way to keep a file in memory indefinitly, where it presumably
can be read much faster?
Any help appreciated,
G.D.
I'm using a third-party library which writes some useful
information into a file. In order to do so, I just have
to pass a file name to a library function and the file
gets written.
The problem is that I need the information that has been
written to the file immediately. I other words, the library
writes the info to a file (on disk) and my code reads this
file immediately afterwards, which makes writing the data
on the disk a waste of time.
I was wondering if there is a (ideally standardized and portable)
way to keep a file in memory indefinitly, where it presumably
can be read much faster?
Any help appreciated,
G.D.