
13 Mar
2024
13 Mar
'24
12:21 a.m.
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
On Mon, Mar 11, 2024 at 9:12 AM Joaquin M López Muñoz < joaquinlopezmunoz@gmail.com> wrote: try my luck with flat_map(that in my experience has quite bad performance, but might work fine for this case). regards, Ivan