From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8059 invoked by uid 1002); 13 Nov 2003 09:10:17 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 7828 invoked from network); 13 Nov 2003 09:10:17 -0000 From: Toby Dickenson Reply-To: tdickenson@geminidataloggers.com To: Alastair Tse Date: Thu, 13 Nov 2003 09:10:16 +0000 User-Agent: KMail/1.5.2 References: <1068662803.18867.134.camel@huggins.eng.cam.ac.uk> In-Reply-To: <1068662803.18867.134.camel@huggins.eng.cam.ac.uk> Cc: gentoo-dev@gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311130910.16348.tdickenson@devmail.geminidataloggers.co.uk> Subject: Re: [gentoo-dev] python-2.3.2 testing required X-Archives-Salt: 82ef36df-4a56-4083-b798-a28394890656 X-Archives-Hash: 2d6c415b09b9f884d8390d0f8f28e614 On Wednesday 12 November 2003 18:46, Alastair Tse wrote: That all looks good. Im keen to give it a spin... > The reason why I'm not making this default is because UCS4 python uses > more memory. An example is supybot (Python IRC bot) that uses 8M for > UCS2 and 13M for UCS4. Ive not used ucs4 python yet, but it is one of the things I was looking forward to in version 2.3. It would much nicer to leave ucs2 behind. If ucs4 strings were the only cause of that difference, supybot would need to be storing 2.5 million unicode characters. I guess that isnt likely. Excluding bugs, I dont see any reason why a program that doesnt use any unicode objects would use more memory when running on a ucs4 python interpreter. > But note that this example is not scientific > because the machines were different in kernel version, compiler and > compiler optimisations. Those reasons sound much more plausibe to me. Does anyone have a more scientific comparison of the effect of the ucs4 option on python? -- Toby Dickenson -- gentoo-dev@gentoo.org mailing list