From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3A80A13800E for ; Wed, 8 Aug 2012 21:09:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4C6121C02F for ; Wed, 8 Aug 2012 21:09:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DA9C4E06D6 for ; Wed, 8 Aug 2012 21:00:24 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 36D6D1B4024 for ; Wed, 8 Aug 2012 21:00:24 +0000 (UTC) Message-ID: <5022D367.4000205@gentoo.org> Date: Wed, 08 Aug 2012 14:00:23 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120802 Thunderbird/14.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] [PATCH] Portage to write a compressed copy of 'Packages' index file References: <20120808183515.GA21605@3-0.hurrikane.de> In-Reply-To: <20120808183515.GA21605@3-0.hurrikane.de> X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 07c061da-ab51-42f6-b89f-a60f68d17370 X-Archives-Hash: 8e85ad7edca29a9c484293487883efe8 On 08/08/2012 11:35 AM, W-Mark Kubacki wrote: > In order to re-use 'atomic_ofstream' usage of 'codecs.zlib_codec' > has been considered and discarded, because 'GzipFile' yields > smaller files. (According to Mark's tests 62% smaller.) I've fixed it to use an atomic_ofstream as GzipFile's fileobj argument: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e95a07267c7f642fdca2aca346ab4c12f46748bb -- Thanks, Zac