From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9369 invoked from network); 7 Aug 2021 14:02:10 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Aug 2021 14:02:10 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1628344930; b=mjRz5idFFPhKHw8OJTFPzEipeH2HVm9gO8J9bsJZ6OFjxRSB8gWfo+xe9ff/az/ful3xvBXGaq K6R59SxZTyFDAfBeCjvFPtLkBHxNL7MlfGcbXgqHY1v1DmcQAxhAvPqghOQ3A9amUKQ3rLT6b4 2WoV4E8472qyS0QSkI1FurMnmEyalpBE7QM8/rhkKbTgIK3jMmoiRqRPxMwIzwZLoSajax/yvz Pu5IoTyClqojull2pmIEFEQUwYn5cqTzQWiqPXJ9SlhsSam6fEa8SRlpAE2uSwApjrLu23LI6t V6IO3S+AG1Ix3Gi9h/OZW/bVkutk8YC6TwioGGfAA7d1MQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (pepin.polanet.pl) smtp.remote-ip=193.34.52.2; dmarc=none header.from=polanet.pl; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1628344930; bh=yb0YSLD+XWHR/bry2cQDtxNbtjvGJqnv4AJBgttqsew=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature; b=WkOEc38Hx6fLGIFjrQ6B0BzVwp0Ir7dJnJI9Ux03oZXDpTGPKWXzsr2DTAb7baeP4DLEiyOVzW ea0uQ5JCeyd5tWc8qh6qwJmL/NJMIrFB2daUuUckpEOweff/EDQMWGWO9EWzo6301qpEMRTmxU L/f0WSqrvu3W2N/8ofgfLPo+fytETUv2BY5N0dTlEzAFFUusFrgNiJ1LQTmN2qRc0GatVOwzdY qtEyciSTbVQ9Ou/1R91+EQi0e2W0goEb2aIXSmfktMww4DQfVLt5PH9GGRQ8WIwysdd51//52H cQmuJtElAsR38RaBSVBM8/y6CGeJJTz4bN0RRpbTw6QHUw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=QJCmxSBBViynSqfdr84+a3kPBjyx5Hfq196PGuO0I/8=; b=Xp+LZ1IIrS5z+1gtpOvQRRC3UZ bjOKPmUUCl08n0YumlfQtsPnN/Fu55NPdsna3KcbWyqTF60NTxVIXDCLeYDiwTkh57iVAalOh9UxQ DwP2tUqq6n31N06He1lr1oGd1zr0yBlJRK0lNiuinswn9B+vR6XbaBkrXCoKJkEdY15lw9zd4HUW0 5a+gB0LgK7PiFX83SKaCBorxYRRbdSUYTGkBV55ELXKyGxUhFL1VVcW3cKhmxnM0bYCFvDZwzbf+X jBGuMbHotXgvYcReQUrVkhsdtWAD/gP2C0C+M8O4MMwXJSuiKFPM9OleWhRjT1yfvWHIEZfhS+jDQ ab7MVI/w==; Received: from authenticated user by zero.zsh.org with local id 1mCMtu-0003xm-I4; Sat, 07 Aug 2021 14:02:10 +0000 Authentication-Results: zsh.org; iprev=pass (pepin.polanet.pl) smtp.remote-ip=193.34.52.2; dmarc=none header.from=polanet.pl; arc=none Received: from pepin.polanet.pl ([193.34.52.2]:60171) by zero.zsh.org with esmtps (TLS1:DHE-RSA-AES256-SHA:256) id 1mCMtC-0003FF-VT; Sat, 07 Aug 2021 14:01:28 +0000 Date: Sat, 7 Aug 2021 16:01:26 +0200 From: Tomasz Pala To: zsh-users@zsh.org Subject: Re: zcompiled files not used Message-ID: <20210807140125.GA20255@polanet.pl> References: <20210807114640.GA16427@polanet.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20210807114640.GA16427@polanet.pl> User-Agent: Mutt/1.5.20 (2009-06-14) X-Seq: 26875 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Sat, Aug 07, 2021 at 13:46:40 +0200, Tomasz Pala wrote: > This is 32-bit image for HP thin client, this time run in 64-bit > QEMU/KVM guest. However, when I chroot into this directly from the 64-bit > host, the behavior seems fine - there's a bunch of lstat64() without > openat() of _zip file (esp. when I create digest functions.zwc). Ah, the problem was missing $ZDOTDIR directory, which breaks zcompdump. > My intention is to generate /usr/share/zsh/5.8/functions.zwc on boot: Apparently this is not functional nor required - compinit won't prefer zwc files over plain ones, but autoloading can make use of individual zwc files, and .zcompdump file is 49 kB only. > zcompile /usr/share/zsh/5.8/functions.zwc /usr/share/zsh/5.8/functions/* > > as the destination thin client has very slow CPU and flash drive (20 MB/s > sequential read) and it takes over 1 second to read all the 7 MBs of > completion files and spawn new shell each time. -- Tomasz Pala