From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Replace 'pp' with 'prin1' to generate ELPA archive-contents Date: Sat, 22 Oct 2022 08:01:37 -0700 Message-ID: References: <87fsfgp1tx.fsf@posteo.net> <874jvwotur.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, Stefan Monnier To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 23 23:23:10 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omiR4-0009Yc-07 for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Oct 2022 23:23:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omgcF-00011Q-5R for ged-emacs-devel@m.gmane-mx.org; Sun, 23 Oct 2022 15:26:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omG0M-0006iq-Mg for emacs-devel@gnu.org; Sat, 22 Oct 2022 11:01:42 -0400 Original-Received: from mail-oo1-xc2d.google.com ([2607:f8b0:4864:20::c2d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1omG0L-0001UF-6K for emacs-devel@gnu.org; Sat, 22 Oct 2022 11:01:42 -0400 Original-Received: by mail-oo1-xc2d.google.com with SMTP id g15-20020a4a894f000000b0047f8e899623so838318ooi.5 for ; Sat, 22 Oct 2022 08:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=BBqoJiVqk2t1WxYEiN0lRAg01tOMTW1wEOwF6p70bJc=; b=TFKUe6w7/+IT5ZpsYqvsYUOnVDTODErwjUdPlBmp8WjFxKZc+sHHii8FY4s8gLzf13 Q8aA3eqM3wn41UHol4cMTkS7JPqcnju7VqgxadN+jOaQvMUe83QUJR99hh514R3viOAC M4k2XAEO1hqX8h7Is6d8e3ws06098XgvezAG9lGwwosbO2VDgjAdryFmcTigSoLYJM1c ykt0TS7+j+69hqNH5aGGpqsJcf13Juk8n2htEJZMoY8jvttuLBCNT4CY3KISKZ/I/XqY qNNZKOCBRJ7ALyCs8aWnKm1r4IMZ9orIrHksaykdiMsNeB9WjNQdr1HOmx6WQ1mW3Jud PB/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=BBqoJiVqk2t1WxYEiN0lRAg01tOMTW1wEOwF6p70bJc=; b=T+j9KWPUqEHYL79yAUHoecPwg8lykk4lHr2aCwAl3zGL4lJV8c5WarQMtsk4S23JKT lvZd/JO3IOSWtHt5trZmAlRbCTXaG7KmQ11M06G1E1mPp35NqjqUCNYNPdawkCZmoeMl DGPO5TG0nA/0IFT2kwX+PVVHr5DbKYJ1UsotXv8q9SFbbqqXphAUZiOweaKDEn4T6VVs gvwE8bFEnXDHPF561QAgk3uxhvJ4W/bxWdGE5r2JPsJ8be4r0cIp/0mBGwVyXVXv0TQR sKElEaH3ZdA3+VtTirUgyZ4Cmi0QvsJDn+5IsviIrtMCbPtz7KRHtZe5PT7vxRcM+7tf CGSQ== X-Gm-Message-State: ACrzQf29jjVSp5Rd8KTcLgk2Z9/941fDNV5HS5wJssWZ3Ip3+7OUHG7x 4FvrZMqs2wThEZC2xqMciiQYT4rjkaXy5K4tTG8= X-Google-Smtp-Source: AMsMyM5ojdNVpoktMvCoEPO+3V2XCA0yoIc+QNUL/KNjozj6H2nDIy5mEydkIQGDLywgOVke89aAyXk+VtxFWPbOIXo= X-Received: by 2002:a05:6820:1746:b0:47f:926a:286d with SMTP id bf6-20020a056820174600b0047f926a286dmr11194724oob.5.1666450898397; Sat, 22 Oct 2022 08:01:38 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 22 Oct 2022 08:01:37 -0700 In-Reply-To: <874jvwotur.fsf@posteo.net> X-Hashcash: 1:20:221022:monnier@iro.umontreal.ca::HKwT5hJKIFer7kRG:0qd5 Received-SPF: pass client-ip=2607:f8b0:4864:20::c2d; envelope-from=stefankangas@gmail.com; helo=mail-oo1-xc2d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:298275 Archived-At: Philip Kaludercic writes: > I have tried out a few different compression algorithms on the archive > contents generated with `prin1', and it seems that bz2 would give the > best results -- though in the end there is just a difference of =C2=B12kb= : The main benefit of using gzip is that it's more portable, as it's almost always installed on any given system. Given the small file sizes, that consideration is probably more important than the exact compression ratio. > Another thing I just thought of is that HTTP can serve gzip'ed > content, but unless I am mistaken the elpa.gnu.org server doesn't make > use of this capability, even though url.el appears to send the right > header (Accept-Encoding: gzip). My guess would be that enabling this > would improve the situation immediately more than any hacking on > elpa-admin.el/package.el. Makes sense. Did you check what melpa.org does about that, BTW?