Date: Sun, 29 Nov 2026 02:24:13 +0300
I wrote: "Second, this is an ineffective way of storing Key in
cache-friendly unordered_set structure (not so friendly :D but more
friendly then, let's say, std::set)."
Per my understanding, std::unordered_set structure is more cache-friendly
then std::set, but less cache-friendly then boost::unordered_flat_set with
open-addressing.
Anyway, it is not a good idea to use Key class objects while you need only
part of Key class attributes (fields) to support comparison operations
(==).
вс, 29 нояб. 2026 г. в 00:54, Giuseppe D'Angelo via Std-Proposals <
std-proposals_at_[hidden]>:
> Il 28/11/26 21:20, Aleksandr Povaliaev via Std-Proposals ha scritto:
> > cache-friendly unordered_set structure
>
> Beg my pardon?
>
> --
> Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53 <+33%204%2090%2084%2008%2053>,
> http://www.kdab.com
> KDAB - Trusted Software Excellence
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
cache-friendly unordered_set structure (not so friendly :D but more
friendly then, let's say, std::set)."
Per my understanding, std::unordered_set structure is more cache-friendly
then std::set, but less cache-friendly then boost::unordered_flat_set with
open-addressing.
Anyway, it is not a good idea to use Key class objects while you need only
part of Key class attributes (fields) to support comparison operations
(==).
вс, 29 нояб. 2026 г. в 00:54, Giuseppe D'Angelo via Std-Proposals <
std-proposals_at_[hidden]>:
> Il 28/11/26 21:20, Aleksandr Povaliaev via Std-Proposals ha scritto:
> > cache-friendly unordered_set structure
>
> Beg my pardon?
>
> --
> Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53 <+33%204%2090%2084%2008%2053>,
> http://www.kdab.com
> KDAB - Trusted Software Excellence
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Received on 2026-11-28 23:24:28
