X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 59C2ADC0157; Mon, 4 May 2015 14:42:04 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 6DDCDDC0135; Mon, 4 May 2015 14:42:03 +0000 (UTC) Date: Mon, 4 May 2015 16:42:00 +0200 From: Natanael Copa To: Timo Teras Cc: Ramon Soares , alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] main/ca-certificates: change update-ca-certificates lua script to a shell script Message-ID: <20150504164200.669261f6@ncopa-desktop.alpinelinux.org> In-Reply-To: <20150504152343.16db675f@vostro> References: <1430652096-4857-1-git-send-email-ramon@codecraft63.com> <20150504152343.16db675f@vostro> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 4 May 2015 15:23:43 +0300 Timo Teras wrote: > On Mon, 4 May 2015 08:48:26 -0300 > Ramon Soares wrote: > > > Is really necessary to have performance in this script? > > > > To a script that should have little use, I believe the dependency of > > other packages to be unnecessary. > > It directly affects the boottime of tmpfs installs, as well as > upgrading packages. > > See: http://bugs.alpinelinux.org/issues/2846 > > The shell script can run 3-20 seconds on ARM, where as the lua version > is 0.25 seconds. > > Having to wait extra 20 seconds on boot, or "apk upgrade" is > unacceptable if it's fixed with lua dependency. Especially since lua is > the preferred scripting/interpreted language in alpine. > > The total installed size for lua and the posix module is roughly 300 > kB. It is still less than bash (700+ kB). ... > But that said, we are not going to go back to something that is slower; > just because someone else is doing it. If you find the lua dependency > unacceptable, please rewrite the code in C, or some other compiled > language. I think we want it rewritten in C. Does not look difficult. -nc --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---