Sunday, December 4, 2005 Ian Lynch wrote: > That depends on the size of the file. In fact compression can actually > speed up opening a file. Disc to RAM is slow but processes in RAM are > fast so loading a compressed file from disc to RAM and then > decompressing entirely in solid state could actually be faster than just > loading an uncompressed file from a disc to RAM. There are several > factors that could each be significant or insignificant.
> That's why you need to do the sums and not just speculate. You need to do more than the sum :) If the original file doesn't fit in RAM, it's faster to mmap it to/from disk in uncomprssed form than to load the compressed version and then going back and forth between memory and disk because of swap usage. The truth is probably that there is no general truth about what's faster and what's not. Of course, the point remains that OOo has plenty of room for optimization :) -- Giuseppe "Oblomov" Bilotta --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
