C++ Logo


Advanced search

Re: Performance requirements for Unicode views/types/algorithms

From: Daniel Krügler <daniel.kruegler_at_[hidden]>
Date: Thu, 2 Mar 2023 16:50:41 +0100
Am Do., 2. März 2023 um 16:45 Uhr schrieb Jens Maurer via SG16
> On 02/03/2023 16.28, Steve Downey via SG16 wrote:
> > That ICU apparently has poor performance in this area indicates a little that many users are OK with it. But it does also sound like there are use cases for eager algorithms that could provide better performance. Probably something like the ones that JeanHeyd was proposing for C?
> >
> > Incidentally, should the charconv functions get `span`ed? Those char* make me itch a little? Or would that be an ABI pessimization?
> <charconv> was intentionally designed to be a bare-bones interface
> where other abstractions can be layered on top.
> People have a number of ergonomics gripes about the interface,
> so feel free to propose wrappers that are "nicer" to use,
> if you feel you can make a bang-for-the-buck argument for a
> facility somewhere between (say) strtoul and <charconv>.
> Jens

One proposal that springs to my mind would be


- Daniel

Received on 2023-03-02 15:50:53