-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Suresh Thalamati wrote: | . Preallocation of the log file by doing writes to a file opened in | "rws" mode will be much slower than doing writes to file opened in | "rw" mode .
I have a trick for this - instead of writing whole file, write a single block on the end (last block) - that will create the big file faster, rws or not ;-) Rest of file gets zeroed out on windows, dunno about other platforms (it's unspecified).
Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQEVAwUBQTaM13FDePgyse5HAQLTywgAm55JxXGhpl3QJ9etkkcTM+fyU5ic4MI7 DUCOic545R45hSZEfF1qmgTvwxfmheVoZ1iuRGgwvuuxHkKfLhvLBF+VxGRO9I8w jQsE5LpC1TmMcpDhVciQMcxVm1VS5ROb+J8vQpGa/5bFQlrXplDmSrqIvX4jzfBQ DtNAaTLqmX4O6AVaYgLQ5DRJIf5C+Kie2L3RGAi+P1tbOjLikVovhX6SlvvnCJk/ v6qedzDhXfBejI9DUoA3EArMiP+7Ch8IGhjY8mH0kCs2tDtpQ3I6Mc+WAXhov7iY OH1r7uxFHjMHSKzyBUk7rDBYXYpgFdxbXGCTTvWDJKO+IqC/0YVS+w== =DhPw -----END PGP SIGNATURE-----
