Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #386711

Re: realloc() - frequency, conditions, or experiences about relocation?

From Ben Bacarisse <ben@bsb.me.uk>
Newsgroups comp.lang.c
Subject Re: realloc() - frequency, conditions, or experiences about relocation?
Date 2024-07-02 16:39 +0100
Organization A noiseless patient Spider
Message-ID <87wmm3kdli.fsf@bsb.me.uk> (permalink)
References (7 earlier) <86r0cuk9qz.fsf@linuxsc.com> <v4rmv0$19t6u$1@dont-email.me> <v4roic$1ad0g$1@dont-email.me> <v5njll$3ilq3$4@dont-email.me> <v60gl9$1j1qq$1@dont-email.me>

Show all headers | View raw


Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:

> On 29/06/2024 01:14, Lawrence D'Oliveiro wrote:
>> On Tue, 18 Jun 2024 11:46:36 +0100, Malcolm McLean wrote:
>> 
>>> Here are some real stats on file sizes, in case anone is interested.
>>>
>>> Data set, / OS Log-normal median & mean, Arithmetic mean, 50% occupied
>>> by (< mean)
>>>
>>> whole data set,   9.0 KB,   730 KB, 1.5 MB < 5.4 KB
>>> Mac OS            8.0 KB,   533 KB, 1.4 MB < 4.9 KB
>>> Windows           11.5 KB,  1.0 MB, 1.7 MB < 8.3 KB
>>> GNU/Linux         10.8 KB,  1.7MB,  2.2 MB < 4.8 KB
>>>
>>> https://www.researchgate.net/publication/353066615_How_Big_Are_Peoples%27_Computer_Files_File_Size_Distributions_Among_User-managed_Collections
>> I don’t see any error bars. Without those, it hard to attach any
>> significance to the differences in figures.
>>
> You don't need error bars becuase those fugures indicate a
> distribution. The file are log-normally distributed wth given means
> and median. So the spread is part of that data.

There are (or should be) two different distributions.  Error bars are
intended to show the spread within the data.  The log normal
distribution is across the data.

Now I suspect they didn't do it this way and just amalgamated all the
file save data into one, but that explains rather than excuses the lack
of error bars!

-- 
Ben.

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: realloc() - frequency, conditions, or experiences about relocation? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-06-29 00:14 +0000
  Re: realloc() - frequency, conditions, or experiences about relocation? Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2024-07-02 10:18 +0100
    Re: realloc() - frequency, conditions, or experiences about relocation? Ben Bacarisse <ben@bsb.me.uk> - 2024-07-02 16:39 +0100
    Re: realloc() - frequency, conditions, or experiences about relocation? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-07-03 23:48 +0000

csiph-web