Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Anton Shepelev Newsgroups: comp.lang.c,sci.stat.math Subject: Re: realloc() - frequency, conditions, or experiences about relocation? Date: Tue, 23 Jul 2024 16:47:39 +0300 Organization: A noiseless patient Spider Lines: 22 Message-ID: <20240723164739.d60ba6e9e8b850adf3887846@g{oogle}mail.com> References: <875xu8vsen.fsf@bsb.me.uk> <87zfrjvqp6.fsf@bsb.me.uk> <20240617180249.96dfaafa89392827aa162434@g{oogle}mail.com> <87le2kwf9z.fsf@nosuchdomain.example.com> <20240708200121.ec07d0338a336b56cc7387a1@g{oogle}mail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Date: Tue, 23 Jul 2024 15:47:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="7fb650ba776c0c58c8083f478e356d96"; logging-data="1298663"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nS02pfU0lW0JOgz8RDPzUtc+wjLrvYN8=" Cancel-Lock: sha1:wbHoIUtxA88cK40I2Ahv/JKl7tg= X-Newsreader: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Bytes: 2345 Rich Ulrich: > Today, was looking at All Desks (Agent terminology) to see > what was in Sent, and I noticed there were messages in > Inbox -- Those were the messages that I thought Agent had > failed to retrieve. (Nice discussion there.) Looking forward to your take on the problem. Mine is rather simplisitc, but can be easily tested with several distributions. This is like extrapolation: we know the optimal solution for the given distribution (exponential) and want to devise a general method to get the optimal solution for any given distribution. Malcolm, if you are still interested, can you provide a test program that measures some statiscits for various allocation strategies on various distributions, inclusing the exponential? -- () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments