C++ Logo

liaison

Advanced search

Re: [isocpp-wg14/wg21-liaison] In preparation for the Brno meeting

From: Martin Uecker <ma.uecker_at_[hidden]>
Date: Tue, 24 Jun 2025 19:01:25 +0200
Am Dienstag, dem 24.06.2025 um 16:31 +0000 schrieb Niall Douglas via Liaison:
> On 24/06/2025 13:56, Niall Douglas wrote:
>
> > This is what I am asking now - would WG14 like me to write a paper exploring the overheads of UTF-8 compatible variable length prefixing of variable length octet arrays? I think that for short strings, the overhead would be exactly nil, but it will rise as a percentage of total as strings get longer before shrinking again.
>
> Seeing as I am unemployed, I went ahead and wrote up that paper. A first draft is attached.
>
> See what you all make of it.


I would fear that anything more complicated than a size_t is inviting
bugs and might prevent this from becoming a type that can easily
be used also by other languages.

Martin

Received on 2025-06-24 17:01:30