Re: [Cbor] hildjj/cbor-map-entries: Explicit Map datatype for CBOR, in array format

Kio Smallwood <kio@mothers-arms.co.uk> Thu, 18 February 2021 16:41 UTC

Return-Path: <kio@mothers-arms.co.uk>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 02DB63A1425 for <cbor@ietfa.amsl.com>; Thu, 18 Feb 2021 08:41:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.496
X-Spam-Level:
X-Spam-Status: No, score=-1.496 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.4, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 upSXqMarMFCY for <cbor@ietfa.amsl.com>; Thu, 18 Feb 2021 08:41:24 -0800 (PST)
Received: from authenticated.a-painless.mh.aa.net.uk (painless-a.thn.aa.net.uk [IPv6:2001:8b0:62::26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3DDEA3A142A for <cbor@ietf.org>; Thu, 18 Feb 2021 08:41:24 -0800 (PST)
Received: from a-webmail.thn.aa.net.uk ([2001:8b0:62::22] helo=webmail.aa.net.uk) by painless-a.thn.aa.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <kio@mothers-arms.co.uk>) id 1lCmMk-00085i-P7; Thu, 18 Feb 2021 16:41:22 +0000
Received: from cpc105076-sgyl40-2-0-cust233.18-2.cable.virginm.net ([82.4.24.234]) by webmail.aa.net.uk with HTTP (HTTP/1.1 POST); Thu, 18 Feb 2021 16:41:22 +0000
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_2379dcddd8924376758254572dae8c1b"
Date: Thu, 18 Feb 2021 16:41:22 +0000
From: Kio Smallwood <kio@mothers-arms.co.uk>
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org
In-Reply-To: <CA182161-D902-4B9B-9AD7-B3FA20AD47FC@tzi.org>
References: <CA182161-D902-4B9B-9AD7-B3FA20AD47FC@tzi.org>
Message-ID: <68c34055c4e616a963de132dbde70ee9@mothers-arms.co.uk>
X-Sender: kio@mothers-arms.co.uk
User-Agent: Roundcube Webmail/1.3.16
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/98F5v37mnVRcWDSEHZ5MTSiHxyk>
Subject: Re: [Cbor] hildjj/cbor-map-entries: Explicit Map datatype for CBOR, in array format
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Feb 2021 16:41:29 -0000

Hi Carsten, 

To answer your original question, I now know of 3 languages in common
use (Python, Ruby, ECMAScript) that have insertion-order-preserving maps
as part of their core libraries. I am happy with 1+2 tag, but shorter is
always nicer. 

Cheers, 

Kio 

On 2021-02-17 20:02, Carsten Bormann wrote:

> Do we agree that an order-preserving map occurs often enough to warrant a 1+1 (or even 1+0?) tag?
> 
> The current proposal is 1+2.
> 
> (Any other comments?)
> 
> https://github.com/hildjj/cbor-map-entries 
> 
> Grüße, Carsten
> 
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor