[PATCH v1] libstdc++: More efficient weekday from year_month_day.
Cassio Neri
cassio.neri@gmail.com
Tue May 13 20:16:59 GMT 2025
Adding link for xref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120264
Thanks, Cassio.
On Mon, 12 May 2025 at 10:06, Jonathan Wakely <jwakely@redhat.com> wrote:
> On Sun, 11 May 2025 at 12:34, Cassio Neri <cassio.neri@gmail.com> wrote:
> >
> > Hi all,
> >
> > After reflecting on my previous message and Andrew's, I now believe this
> patch is not the best solution to optimise the day of the week. Instead,
> the optimisation for n % 7 should be done by the compiler depending on the
> platform.
> >
> > I'll open a missing optimisation opportunity bug report against GCC with
> my suggestions.
> >
> > Therefore, expecting a better solution from the compiler, I'd ask you to
> disregard this patch.
>
> OK. Thank you both for working through this.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250513/3a49d380/attachment-0001.htm>
More information about the Libstdc++
mailing list