Re: Can SIMD in boost unordered be disabled without disabling SIMD for full compile.

Ivan Matek via Boost-users <[email protected]> Wed, 13 Mar 2024 01:21:17 +0100
Newsgroups gmane.comp.lib.boost.user
Message-ID <CAB=+0+M+Dhaa35DkO_SowWi89TNbC=n_JnQ0-YnO3iwwKOEdCA@mail.gmail.com>
On Mon, Mar 11, 2024 at 9:12 AM Joaquin M López Muñoz <
[email protected]> wrote:

> May I suggest that you use boost::unordered_map instead of
> boost::unordered_flat_map
> for those small maps and see if this improves the performance of your
> program?
>
> Thank you for the suggestion, I was hoping to keep all the elements
sequentially in memory(general preference to make efficient use of cache,
hard to microbenchmark),  I will probably just stick to linear search or
try my luck with flat_map(that in my experience has quite bad performance,
but might work fine for this case).

regards,
Ivan

_______________________________________________
Boost-users mailing list
[email protected]
https://lists.boost.org/mailman/listinfo.cgi/boost-users