16 Sep
2014
16 Sep
'14
00:57
El 15/09/14 a las #4, Carlos E. R. escribió:
On 2014-09-15 23:10, Bernhard Voelker wrote:
So the question is if the pread()s could be enhanced/avoided.
I suppose that the entire database could be loaded in memory and then processed. This was not feasible 15 years ago, but now it is. Probably there are functions to map an entire file in RAM
Yes, to do that just use fopen(3) with "m" mode.. or mmap() .. -- Cristian "I don't know the key to success, but the key to failure is trying to please everybody." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org