Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.c Subject: Re: realloc() - frequency, conditions, or experiences about relocation? Date: Tue, 02 Jul 2024 16:39:21 +0100 Organization: A noiseless patient Spider Lines: 33 Message-ID: <87wmm3kdli.fsf@bsb.me.uk> References: <875xu8vsen.fsf@bsb.me.uk> <87zfrjvqp6.fsf@bsb.me.uk> <87tthrvdtg.fsf@bsb.me.uk> <20240617181034.74fb4cca1f4a9a3ea032825e@g{oogle}mail.com> <86r0cuk9qz.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 02 Jul 2024 17:39:21 +0200 (CEST) Injection-Info: dont-email.me; posting-host="b266bd3b753af90a68a6f95ab3ce5341"; logging-data="1774095"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QXxs/n5oDMZlUCPqEhlcrn8Rb5JzPBik=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:PNGP0+aFrgUGcvlCKriISNVzPpA= sha1:oaqP2JjqbS792xLtawhM1vhqqvo= X-BSB-Auth: 1.1cc2431d8f812f3b5555.20240702163921BST.87wmm3kdli.fsf@bsb.me.uk Bytes: 2833 Malcolm McLean 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.