Compiler: Size of generated executable file
Steven Schveighoffer
schveiguy at yahoo.com
Thu Jan 14 05:26:52 PST 2010
On Thu, 14 Jan 2010 00:19:56 -0500, Nick Sabalausky <a at a.a> wrote:
> "Roman Ivanov" <isroman-rem at move.km.ru> wrote in message
>> Storing configs in zip files would increase boot and load times, because
>> applications would waste cycles on unzipping them. That is bloat of a
>> worse kind.
>
> I'm not sure that would be the case if the data was stored on a hard
> drive
> (as opposed to one of those flash drives), because wouldn't the cost of
> extra disk access typically be greater than decoding a
> non-top-of-the-line
> zip encoding? (Not that I really care all that much either way.)
Unless your text file is on the order of 200k bytes, you don't get much
savings :) hard drives read blocks, not bytes, so the relationship of
load time to bytes is not linear.
-Steve
More information about the Digitalmars-d
mailing list