$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ivan Matek (libbooze_at_[hidden])
Date: 2024-03-13 00:21:17
On Mon, Mar 11, 2024 at 9:12â¯AM Joaquin M López Muñoz <
joaquinlopezmunoz_at_[hidden]> 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