Re: [precis] order of operations

Sam Whited <sam@samwhited.com> Thu, 05 May 2016 01:48 UTC

Return-Path: <sam@samwhited.com>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6EBE812B044 for <precis@ietfa.amsl.com>; Wed, 4 May 2016 18:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=samwhited.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3nMctZOETSjv for <precis@ietfa.amsl.com>; Wed, 4 May 2016 18:48:13 -0700 (PDT)
Received: from mail-qg0-x22f.google.com (mail-qg0-x22f.google.com [IPv6:2607:f8b0:400d:c04::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7F62312D0EA for <precis@ietf.org>; Wed, 4 May 2016 18:48:13 -0700 (PDT)
Received: by mail-qg0-x22f.google.com with SMTP id f74so33433627qge.2 for <precis@ietf.org>; Wed, 04 May 2016 18:48:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samwhited.com; s=swgoo; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ez2ossLv+WYjmN2WsQX6kLtl5mYcA4Ev1SoeSTe5MZA=; b=jfdfrKj4HME2NMoVK+bBsVxI/sJZqcBflYtF53lclVSjV1Uax+eOysBtvXMXMwH9Hc 3oQFt7p5ge5PUVQffNZCl7+9GW28r5uePmWt7wE/H3fAaL+b0NY7zL/6oHK2by7+p4eK hS+8XfNdYuKabfRiXWlK+fkrYQERRaWRyH46c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ez2ossLv+WYjmN2WsQX6kLtl5mYcA4Ev1SoeSTe5MZA=; b=YsyGKXdX23nw4yqImlAIMZAkBqmjEjjdR9Dpx4Arv3UWytkwinPINQFRV7A2qDj25W f1xLgQwlN3V3Tmr/mhJaWKOHNnMSS4UmtN8ZAceBiroZdhtq5rmuktIcvBYkxdAbThJh 2s8KQmQGndexpAi3fpp2N7uovxGSFHt+IZUiRLEr81lcITNQHwFCr7g7R5sVSUQJ/g3F 7pt9z+/y4rDRObieHc06QG0X4Ajs/NSqrhSj8gTQIZv/gT1d7gefE/uAKLAu5ExZDGzD E33SqFDx9+LZTXXFykWMK52RkxPPnoaoBekvowLPsSM7BaLkOtkqNBgN34y36NFYobHj /D7w==
X-Gm-Message-State: AOPr4FVwFivVgs3LBaZiVBnHVreBpGm+ufwwu+adBJSYgHqw0VTX0jnE10ZAhU+Kdx6gz8kZ6+6pgcM01/wCxA==
X-Received: by 10.140.133.5 with SMTP id 5mr157315qhf.19.1462412892678; Wed, 04 May 2016 18:48:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.197.132 with HTTP; Wed, 4 May 2016 18:47:33 -0700 (PDT)
X-Originating-IP: [208.54.86.205]
In-Reply-To: <572A7D23.4080404@stpeter.im>
References: <20160301221928.17792.35793.idtracker@ietfa.amsl.com> <1C1668EA-1734-4D90-82E6-3894ECB6407C@viagenie.ca> <56D61E27.40000@stpeter.im> <56F96A20.7030509@stpeter.im> <E5D59850-BE7B-4AB9-863F-E883DA9C4E13@viagenie.ca> <CECC45A3-B52F-489A-B64E-8D9B8DCDBD47@gmx.de> <572A5FB7.9000305@stpeter.im> <CAHbk4RLOc=LXWAR1E6Mrm99TPUzeFfWTSg=Xd1-On_cQRXDjAg@mail.gmail.com> <572A7D23.4080404@stpeter.im>
From: Sam Whited <sam@samwhited.com>
Date: Wed, 04 May 2016 20:47:33 -0500
Message-ID: <CAHbk4RJnAN6yD4m17RGGfgsqtHR4zC=kP7t2C=Zv-ZMK6KVXYg@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: multipart/alternative; boundary="001a1135df9afbbaf805320e8842"
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/fYcQtAZbp8xPQsTcK3yWtOtp39A>
Cc: precis@ietf.org
Subject: Re: [precis] order of operations
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 May 2016 01:48:15 -0000

On May 4, 2016 17:52, "Peter Saint-Andre" <stpeter@stpeter.im> wrote:
> The original suggestion (some years ago now) was browser-based clients
that could not easily download the entire Unicode character database from a
web server to the browser in order to do enforcement or comparison,

That makes sense; the trie I use to store the derived properties for all of
Unicode 8.0.0 is 23 KB in memory (it would be a bit bigger over the wire;
though there's also room for improvement there). This seems reasonable at
first glance, however, a similar structure for normalization ends up being
53 KB, and the one for width mapping is 11 KB; I suppose it begins to add
up quickly if you're on a slow connection

I suppose it comes down to a trade off between complexity and portability;
I'm not sure which makes the most sense in this case.


Best,

Sam