220 26415 <1871419.QjF9UeKD6f@tjmaciei-mobl1> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: iswalpha and locales
Date: Sun, 26 Jun 2016 13:02:19 -0700
Lines: 30
Approved: news@gmane.org
Message-ID: <1871419.QjF9UeKD6f@tjmaciei-mobl1>
References: <5057e854-b2ea-4c39-81c7-367bc3e54080@isocpp.org> <5188654.7iUmSHZqYX@tjmaciei-mobl1> <ecc0fc43-752f-42ba-9f9b-a47485324314@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1466971350 22524 80.91.229.3 (26 Jun 2016 20:02:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 26 Jun 2016 20:02:30 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBTXJYC5QKGQENPDSGHI@isocpp.org Sun Jun 26 22:02:25 2016
Return-path: <std-proposals+bncBCB4TK757YBRBTXJYC5QKGQENPDSGHI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f70.google.com ([74.125.82.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBTXJYC5QKGQENPDSGHI@isocpp.org>)
	id 1bHGG7-0007YD-Rj
	for gclcip-std-proposals@m.gmane.org; Sun, 26 Jun 2016 22:02:23 +0200
Original-Received: by mail-wm0-f70.google.com with SMTP id a66sf57171758wme.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 26 Jun 2016 13:02:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:user-agent:in-reply-to:references
         :mime-version:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=qv3mmrTfoN8putyeF5js+qGAZn1GHOtgOJWDStHdRD8=;
        b=dBhhdIsOBaXszCmYWEwG6OoqEZ0rgD+aVPS1+d208NzJJiGe5s+oKmIb99no1qGRHj
         VeLmdM40ocWHPaIJ/PiG9U6NLfOewc211EKv+iyz7w+hto56lPeioiZZk46s4pJHabH2
         D5BOKebUBWMn0PjgVNUw78JlbwMEVGp1xtR9jIIHxN9GBAKQddf8k5p/ptHko1aq+Qli
         a8WQLhC1OTo4NlLePbot6UOlp7/Eur7o1V7gyd5mmprsA8xcQxEdlVrBu/yC2QYLLS7Z
         lksSr5vCLNJEa2tapqVJHHv1hy1Xo6fsP/mX+ju3PlCi6B5Z0QP0dpa6IGwYlbglj6Hn
         41Xw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=qv3mmrTfoN8putyeF5js+qGAZn1GHOtgOJWDStHdRD8=;
        b=f2fD7NUP+xQZwvfAZwZYZUjbhWWaScJpKk9W9MRjx0XrN7qhLh5JZCxZ8kjMrnULTZ
         kYvdiJ8izPU2ALGB6LjOz4dSuYpvPj11zYFTec7Bat6hoJyoRFLEHbuYMtDbdhrUoI00
         6hE7M5ECwGYxNQo3qHHM/hG5xd+xaNb+h9bS+eOpuMl0Q9o70HFLzJfVZdWsh/5wmDPh
         6eoY9L9If5H+Pxp6JsAxQGC8oDRb+mdMGUbLYcmjQjcH96xfsSc2Tz7a8ZHMAdpHWDkG
         K0CbOzWkhIV3Bjg/lHwkr+snOkaD+HKv95R+BANSnEERxd+jLczotjzlAjUznTNCGXzc
         65fg==
X-Gm-Message-State: ALyK8tIKWR78jIHTHropQtGWAi4VXgfFmM1prx4MmLHcInx5ptEEAWPzjC4KuFGaHk/87Q==
X-Received: by 10.28.197.196 with SMTP id v187mr1213815wmf.3.1466971343249;
        Sun, 26 Jun 2016 13:02:23 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.1.202 with SMTP id 193ls419121wmb.39.gmail; Sun, 26 Jun
 2016 13:02:22 -0700 (PDT)
X-Received: by 10.194.234.103 with SMTP id ud7mr12398816wjc.39.1466971342287;
        Sun, 26 Jun 2016 13:02:22 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id q189si3435393wmb.87.2016.06.26.13.02.22
        for <std-proposals@isocpp.org>;
        Sun, 26 Jun 2016 13:02:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:5803:81c9:4404:8260:60ba:e69a])
	by gondolin.macieira.info (Postfix) with ESMTPSA id D68EA11BC84
	for <std-proposals@isocpp.org>; Sun, 26 Jun 2016 13:02:21 -0700 (PDT)
User-Agent: KMail/5.2.2 (Linux/4.6.2-1-default; KDE/5.23.0; x86_64; ; )
In-Reply-To: <ecc0fc43-752f-42ba-9f9b-a47485324314@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mailfrom=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:26415
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26415>

On domingo, 26 de junho de 2016 12:53:01 PDT Nicol Bolas wrote:
> > Also, ICU 57.1 isn't 18 MB: 
> > 
> > $ v -h /usr/share/icu/57.1/icudt57l.dat 
> > -rw-r--r-- 1 root root 25M Jun 15 06:14 /usr/share/icu/57.1/icudt57l.dat 
> 
> They store it as a file to be directly included? No run-length encoding of 
> series of elements that contain the same value or anything?

They store it as a binary file (the L is for "little-endian") and they apply 
compression to it, as far as I know.

It's just that ICU is more than just the Unicode property tables. It's ALL the 
Unicode tables, plus CLDR, plus the IANA/Olson timezone database, plus 
whatever else I haven't found out yet.

Qt has a portion of the Unicode tables and CLDR too. We do compress the 
Unicode tables, but just for QString & QChar usage, they're several hundred kB 
already.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/1871419.QjF9UeKD6f%40tjmaciei-mobl1.

.
