From: Tech@SoftByteLabs.com
Subject: Re: programming channels on IRC
On Wed, 25 Mar 1998 01:32:09 GMT, dnskiesling@telis.org (David
Kiesling) wrote:
>I tried asking this in IRC, but the egotistical C programmers there
>don't like anyone who doesn't use C.
>
>Why would one have records in a random access file 1024 bytes each?
>A program I use has records like that. The data for each record only
>makes up 468 bytes and the extra unused 556 bytes goes into an unused
>string variable, making the records 1024 bytes each.
>
>If there's a reason for this, is the same true for records of 2048,
>4096, etc. bytes each? How about 512, 256, 128, etc. bytes?
They don't like you if you can't do C because they are jealous
that you can do assembly in PB, which proves you to be better.
But anyway, I think they pad the record either for future addons
to the data file without having to convert it, or it's simply to try
and get speed by making the record length the same as the
cluster size of the HD. Kinda stupid I think, because clusters
are not always 1024, and if the record size is only 468 byte,
2 records would fix into one cluster, double the speed.
Other then that, I don't see what else, maybe I'm missing something!
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|