From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12389 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Pruitt Newsgroups: gmane.linux.lib.musl.general Subject: Re: Updating Unicode support Date: Wed, 24 Jan 2018 14:25:06 -0800 Message-ID: <20180124222506.vrr6vmi5pbsxojvb@sinister.lan.codevat.com> References: <20180123015446.vera7ocpvgaqvkss@sinister.lan.codevat.com> <20180123233857.GW1627@brightrain.aerifal.cx> <20180124005133.pdcypbus23yrikgg@sinister.lan.codevat.com> <20180124062602.3nn7xiwo4mgor57y@sinister.lan.codevat.com> <20180124214853.GZ1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1516832604 19985 195.159.176.226 (24 Jan 2018 22:23:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 Jan 2018 22:23:24 +0000 (UTC) User-Agent: NeoMutt/20170113 (1.7.2) To: musl@lists.openwall.com Original-X-From: musl-return-12405-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 24 23:23:20 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eeTRv-0004vE-8s for gllmg-musl@m.gmane.org; Wed, 24 Jan 2018 23:23:19 +0100 Original-Received: (qmail 7212 invoked by uid 550); 24 Jan 2018 22:25:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7191 invoked from network); 24 Jan 2018 22:25:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:pgp-key:user-agent; bh=3Qvl5mG1ftKfCUT6GF595XVfH/jbL2ZlUoGX0vg8Pdg=; b=TK60CsqeCUE6K9O+5W5dJRAkBPX03msfYtIa9zmTsJjtLxWC97NyArtv04dd7GWVcJ x2zijUXSdyAVHD8dzbE2dpu1wePJL2RIjhTY1+X/uAizX0xW7a0a4Fn9oiZQYLnjUMLW 1a2CmY07Yj8o+ip33Zw4mhXLpxv/vPKgHc2z5xHvldjGF7ycwqKQjbtyc7HPPPEgnbKr gzIzElDde6EFn0McoeqPx4DZ2razn7GWg0sxRsD3O8vvU/CIvhDIzAXxObXFtkQTmYSe jd+4nFpKR0L4IhNcFuqB064aZ3/miHxysBDgsFHgecK4YeDA8lvg4HkuDRBCtMzuMO3C JL9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:pgp-key:user-agent; bh=3Qvl5mG1ftKfCUT6GF595XVfH/jbL2ZlUoGX0vg8Pdg=; b=A8vTQHKtKH5VC8hXtsyPaeVUp1/GD9+Xf6IsgZSTwhqoChc5AXRXFmGG2/6Zv5m2kN 97FkvauZtmtKp+3EcOk7gpG4usRFzBPkOFYYotEfH8h1E9q+NkOfoCGsclCCZb7/5aCV uBjblr5H4iL3uubOuD7uN0mKZc9dIbbMA6nCXGSrK5gcviloOSwkHkwYoitZMBf1gzXI LH9HwRMLPTENeJxqcA4BZijnyxaikTJeHxt3hphBE7TPAtxqhbew5zCX6GHSr7ZnkccO COENw56fAxVZ/8N6edALiDWK0tGfUbuvWLzSA4iWSO65zEZt725fscYPnpSTvJ4g4jFN F68w== X-Gm-Message-State: AKwxytcswJ0DGbgAN3jpO3/6CVhpdaKe0uI4a6tetbJs9JnjKHkQUxnb ByzEWb0lDiGU6xMDAogoxTPz2g== X-Google-Smtp-Source: AH8x226safIzenYyR9kXY1g86JLyJ7GqgCC70YKrcOBs6fh1RFQREE6KDfhAd3uQFgKpKhYsB6lGAg== X-Received: by 2002:a17:902:2bc3:: with SMTP id l61-v6mr3998570plb.62.1516832707740; Wed, 24 Jan 2018 14:25:07 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180124214853.GZ1627@brightrain.aerifal.cx> PGP-Key: https://www.codevat.com/pgp.asc#F8601B5D2511B4C3535232488DDDE2E6053692AB Xref: news.gmane.org gmane.linux.lib.musl.general:12389 Archived-At: On Wed, Jan 24, 2018 at 04:48:53PM -0500, Rich Felker wrote: > > I updated my copy of musl to 1.1.18 then recompiled it with and without > > my utf8proc changes using GCC 6.3.0 "-O3" targeting Linux 4.9.0 / > > x86_64: > > > > - Original implementation: 2,762,774B (musl-1.1.18/lib/libc.a) > > - utf8proc implementation: 3,055,954B (musl-1.1.18/lib/libc.a) > > - The utf8proc implementation is ~11% larger. I didn't do any > > performance comparisons. > > You're comparing the whole library, not character tables. If you > compare against all of ctype, it's a 15x size increase. If you compare > against just wcwidth, it's a 69x increase. That was intentional. I have no clue what the common case is for other people that use musl, but most applications **I** use make use of various parts of musl, so I did the comparison on the library as a whole. Eric