README: Fix typo.

This commit is contained in:
Timothée Leclaire-Fournier 2024-03-12 15:06:26 -04:00
parent fd8203400c
commit a86dea3901

View File

@ -12,9 +12,9 @@ We avoid false sharing by keeping a high amount of work per thread. This should
lead to cache lines not being shared between threads. In the advent that cache
lines would overlap, we use a smaller amount of threads with a bit more work
per thread. This option is enabled with the `bool enableFalseSharingMitigations`
parameter in the constructor. It is on by default and can be disabled in the advent
that you very big objects where writing pointers in the `std::vector` will not be the
bottleneck.
parameter in the constructor. It is on by default and can be disabled in case
that you have big objects where writing pointers in the `std::vector` will
not be the bottleneck and where more threads will benefit the performance.
While this pool uses a hashmap and a pivot to make `returnPtr(ptr)` extremely fast,
when saving the pointers, the main bottleneck is in the locking and unlocking of the