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

Emile Cormier <> Mon, 19 July 2021 03:24 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id BD4D63A1EED for <>; Sun, 18 Jul 2021 20:24:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.098
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: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 5EfQTPqDaV_P for <>; Sun, 18 Jul 2021 20:24:42 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:4864:20::b31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 068AF3A1EEE for <>; Sun, 18 Jul 2021 20:24:41 -0700 (PDT)
Received: by with SMTP id g19so25522566ybe.11 for <>; Sun, 18 Jul 2021 20:24:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
In-Reply-To: <>
From: Emile Cormier <>
Date: Mon, 19 Jul 2021 00:24:29 -0300
Message-ID: <>
Content-Type: multipart/alternative; boundary="0000000000004444f505c7717a99"
Archived-At: <>
Subject: Re: [Cbor] Map-like container tags - need more time
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-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:

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.

Emile Cormier

On Sun, Jun 27, 2021 at 4:23 PM Emile Cormier <>

> 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
> Thank you for your understanding,
> Emile Cormier