Re: [Cbor] Map-like container tags - need more time

Emile Cormier <emile.cormier.jr@gmail.com> Mon, 19 July 2021 03:24 UTC

Return-Path: <emile.cormier.jr@gmail.com>
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 BD4D63A1EED for <cbor@ietfa.amsl.com>; Sun, 18 Jul 2021 20:24:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 5EfQTPqDaV_P for <cbor@ietfa.amsl.com>; Sun, 18 Jul 2021 20:24:42 -0700 (PDT)
Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) (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 068AF3A1EEE for <cbor@ietf.org>; Sun, 18 Jul 2021 20:24:41 -0700 (PDT)
Received: by mail-yb1-xb31.google.com with SMTP id g19so25522566ybe.11 for <cbor@ietf.org>; Sun, 18 Jul 2021 20:24:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RKb0PKjdb/YlcxpbjLwwzmhgoJycDV3pAs00KFu+OJc=; b=j4JR1GfbT1zYfiGkIohm8pX2GNiEm6wnURwWt6kWpuW2TuMRD57j9YOECIeEOLdkM0 XcrqBA+LoCNKZqgq41/uig8QmS6wwdgJbGkYBS/grXHPEFQsvve4IN2tII8E0r95PwhN vX4/NqVgwiKsE2Z6QUey38i5BzWXWEUcet4Qep2lbf+X8wOG6JC/1JK5QFZBwfjtQcdk Haw5Fq0J1mt5NNzxxEvNuE5nOAwwS73KEHXWcDQov1gNAqAcLc1dYeSGWxuXP8aSs6CX pPKJYEUeue0wGVpAavsfRrkBDi9fNZGSBqbL6svtzYjdnMDNnp1t+jg6vTwd5b7WOS/Q nk6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=RKb0PKjdb/YlcxpbjLwwzmhgoJycDV3pAs00KFu+OJc=; b=PAqFKpME4Ac1xe30gL85cZNikyVh4J5c0egSImlMMNl6++x8BwaXIC+Zn0ULeKXhfV opLMZeHDZusDZhgI1h2mWe606PjQY6g0WpzrhWU0ZdVU9Q4E30sfvbcnxd0QnP1U71Ss ay1S1eWmo/8XxVRgeMXA0BMgxXiJfBr/66eLUqsDNLg9cVP587v0JlD8BW2w/xi6dwLE DU2Qs3azOjgq2Cq7EbkH6V0i/0yi4WVtoez/5oqbSZ32IwRN0Vn54C9xwX0eway3EbrM 3cY8pn7FomDnpN55QcumUpE57n2bYmOokGkQlgsoYffK+houEf11WXFrL7QjX13IUj5x O1vw==
X-Gm-Message-State: AOAM53368oq6zHdmRczSPWYJsmlAqPL23R2RdeL4rAEFEubcey7i+QoI 9Dg4fQeobWjUQdIi4EA4e2ZE/6aeuJOj/+DxIWN7ypTYucDFiA==
X-Google-Smtp-Source: ABdhPJzR9jM0F/VVaeHCSccHaJea4p9XHJsuuViQr46VJ3+gWBQ2sdL3gk6X3epBuiYCUWLOb1VZ+L1YVQ8RnZR8SZ4=
X-Received: by 2002:a25:b218:: with SMTP id i24mr27231999ybj.481.1626665080078; Sun, 18 Jul 2021 20:24:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAM70yxAZMXLmLtb2+QHHqAJEYCV7pQQpypiMR8M+9ju6HNr3NQ@mail.gmail.com>
In-Reply-To: <CAM70yxAZMXLmLtb2+QHHqAJEYCV7pQQpypiMR8M+9ju6HNr3NQ@mail.gmail.com>
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Mon, 19 Jul 2021 00:24:29 -0300
Message-ID: <CAM70yxDhoFamMKvKb1xeax27JrTaQtZx22i2=kr5h0rP08oAOg@mail.gmail.com>
To: cbor@ietf.org
Content-Type: multipart/alternative; boundary="0000000000004444f505c7717a99"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/y5ziH1A1xysC1AjxZaFrNJaQAuI>
Subject: Re: [Cbor] Map-like container tags - need more time
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: Mon, 19 Jul 2021 03:24:44 -0000

Hi Everyone,

I spent the day researching how maps/multimaps are converted to JSON by
various programming languages and libraries. You can read my findings here:
https://docs.google.com/document/d/1hCbteMD2RbX6qVQpV8QOwP5j_VIgwyxziNXZPRJ0yd8/edit?usp=sharing

Among the "mainstream" programming languages, multimaps don't seem popular
outside of C++, requiring implementations from third-party libraries or
that Dictionary<Key, List<Value>> be used instead.

Next step is for me to analyze the complexity of encoding/decoding the
various AList, MList, etc schemes proposed by Carsten.

Cheers,
Emile Cormier

On Sun, Jun 27, 2021 at 4:23 PM Emile Cormier <emile.cormier.jr@gmail.com>
wrote:

> Hi Everyone,
>
> At the last interim meeting, I promised I would survey how map-like data
> structures are encoded by various JSON libraries. I also promised I would
> write pseudocode to estimate the complexity of the various compaction
> schemes proposed by Carsten.
>
> I unfortunately will not have enough time to complete these tasks by the
> next interim meeting this Wednesday. I'll need more time.
>
> It seems there is plenty of other stuff going on with other aspects of
> CBOR.
>
> Thank you for your understanding,
> Emile Cormier
>