On Fri, 14 Mar 2025 at 08:55, Florian Weimer wrote:
>
> * Jonathan Wakely:
>
> >> I still think this is more confusing than necessary. If there isn't
> >> some general rule that empty objects can be considered stateless, that
> >> should be added somewhere, too. 8-)
> >
> > Could you submit an is
* Jonathan Wakely:
>> I still think this is more confusing than necessary. If there isn't
>> some general rule that empty objects can be considered stateless, that
>> should be added somewhere, too. 8-)
>
> Could you submit an issue (or two)?
> https://cplusplus.github.io/LWG/lwg-active.html#subm
* Jonathan Wakely:
> On Thu, 13 Mar 2025 at 09:24, Florian Weimer wrote:
>>
>> * Jonathan Wakely:
>>
>> > On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
>> >>
>> >> * François Dumont:
>> >>
>> >> > + // Get hash code for a node that comes from another _Hashtable.
>> >> > + // Reus
On Thu, 13 Mar 2025 at 11:51, Florian Weimer wrote:
>
> * Jonathan Wakely:
>
> > On Thu, 13 Mar 2025 at 09:24, Florian Weimer wrote:
> >>
> >> * Jonathan Wakely:
> >>
> >> > On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
> >> >>
> >> >> * François Dumont:
> >> >>
> >> >> > + // Get has
On Thu, 13 Mar 2025 at 09:58, Jonathan Wakely wrote:
>
> On Thu, 13 Mar 2025 at 09:54, Jonathan Wakely wrote:
> >
> > On Thu, 13 Mar 2025 at 09:24, Florian Weimer wrote:
> > >
> > > * Jonathan Wakely:
> > >
> > > > On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
> > > >>
> > > >> * François
On Thu, 13 Mar 2025 at 09:54, Jonathan Wakely wrote:
>
> On Thu, 13 Mar 2025 at 09:24, Florian Weimer wrote:
> >
> > * Jonathan Wakely:
> >
> > > On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
> > >>
> > >> * François Dumont:
> > >>
> > >> > + // Get hash code for a node that comes fro
On Thu, 13 Mar 2025 at 09:24, Florian Weimer wrote:
>
> * Jonathan Wakely:
>
> > On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
> >>
> >> * François Dumont:
> >>
> >> > + // Get hash code for a node that comes from another _Hashtable.
> >> > + // Reuse a cached hash code if the has
* Jonathan Wakely:
> On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
>>
>> * François Dumont:
>>
>> > + // Get hash code for a node that comes from another _Hashtable.
>> > + // Reuse a cached hash code if the hash function is stateless,
>> > + // otherwise recalculate it using
On Thu, 13 Mar 2025 at 06:50, Florian Weimer wrote:
>
> * François Dumont:
>
> > + // Get hash code for a node that comes from another _Hashtable.
> > + // Reuse a cached hash code if the hash function is stateless,
> > + // otherwise recalculate it using our own hash function.
> >
* François Dumont:
> + // Get hash code for a node that comes from another _Hashtable.
> + // Reuse a cached hash code if the hash function is stateless,
> + // otherwise recalculate it using our own hash function.
> + __hash_code
> + _M_hash_code_ext(const __node_value_ty
On Mon, 24 Feb 2025 at 20:52, François Dumont wrote:
>
> All good remarks as usual, here is a new version.
>
> I took the time to leverage on the new method to replace a usage of
> _M_src_hash_code.
>
> libstdc++: [_Hashtable] Fix hash code cache usage when stateful
> hash functor
>
> It
All good remarks as usual, here is a new version.
I took the time to leverage on the new method to replace a usage of
_M_src_hash_code.
libstdc++: [_Hashtable] Fix hash code cache usage when stateful
hash functor
It is wrong to reuse a cached hash code from another container when
t
On Mon, 17 Feb 2025 at 21:27, François Dumont wrote:
>
> Ping for this bug fix, would you like a PR ?
No, I don't think we need one, I'm reviewing the patch now.
>
> On 20/01/2025 22:12, François Dumont wrote:
> > Hi
> >
> > In my work on fancy pointer support I've decided to always cache the
>
On 20/01/25 22:12 +0100, François Dumont wrote:
Hi
In my work on fancy pointer support I've decided to always cache the
hash code.
Doing so I spotted a bug in the management of this cache when hash
functor is stateful.
libstdc++: [_Hashtable] Fix hash code cache usage when hash
functo
Ping for this bug fix, would you like a PR ?
On 20/01/2025 22:12, François Dumont wrote:
Hi
In my work on fancy pointer support I've decided to always cache the
hash code.
Doing so I spotted a bug in the management of this cache when hash
functor is stateful.
libstdc++: [_Hashtable] F
15 matches
Mail list logo