Streams
I have a typical text file that I have been writing to disk. Afterwards, I
zip it up and delete the original.txt file.
Would I be better off writing it to a stream, then using compression
routines that support compressing streams then writing to disk. Seems it
would speed things up somewhat. We are talking 6 meg text files here.
Are there any simple examples how to write a text file to a Stream?
Thanks,
Richard
----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.
Relevant Pages
- Re: Reading & Writing in a Stream
... > I want to write to a stream, but the data is not byte array. ... > Is another way for this kind of writing and reading? ... to http or to disk. ... you can't - you need to wrap it with a StreamWriter first, ... (microsoft.public.dotnet.languages.csharp) - Temporary lock-up under heavy write, MegaRAID RAID-5
... LSI Logic MegaRAID 320-1, 64MB cache ... when writing very large files. ... disk write access, actually). ... The RAID controller is currently set to "write-through". ... (Debian-User) - Re: X-CD Roast question again please
... Using generic SCSI-3/mmc CD-R driver. ... Disk sub type: Medium Type A, ... ATIP start of lead in: -11318 ... writing 152 KB of pad data. ... (RedHat) - Re: efficacy of Linux w/o swap
... | Caching is supposed to happen, and this does not affect performance. ... that the impact starts to degrade the writing process itself. ... | Writing directly to disk will substantially decrease performance. ... Performance for the first 3/4 of an IDE disk ... (comp.os.linux.development.system) - Re: Best way to deal with long loops?
... all disk access is 'expensive' ... but with a smarter descendant of TFileStream ... Writing these out from scratch. ... I expect the stock TTreeView is storing data rather differently ... (alt.comp.lang.borland-delphi) |
|