Re: [PATCH] libstdc++: Optimize integer std::from_chars

2022-04-14 Thread Jonathan Wakely via Gcc-patches
On Thu, 14 Apr 2022 at 13:32, Patrick Palka via Libstdc++ wrote: > > This applies the following optimizations to the integer std::from_chars > implementation: > > 1. Use a lookup table for converting an alphanumeric digit to its > base-36 value instead of using a range test (for 0-9) and sw

Re: [PATCH] libstdc++: Optimize integer std::from_chars

2022-04-14 Thread Patrick Palka via Gcc-patches
On Thu, 14 Apr 2022, Patrick Palka wrote: > This applies the following optimizations to the integer std::from_chars > implementation: > > 1. Use a lookup table for converting an alphanumeric digit to its > base-36 value instead of using a range test (for 0-9) and switch > (for a-z and

RE: [PATCH] libstdc++: Optimize integer std::from_chars

2022-04-14 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Gcc-patches bounces+kyrylo.tkachov=arm@gcc.gnu.org> On Behalf Of Patrick Palka > via Gcc-patches > Sent: Thursday, April 14, 2022 1:31 PM > To: gcc-patches@gcc.gnu.org > Cc: libstd...@gcc.gnu.org > Subject: [PATCH] libstdc++: Optimize integer std::from_c