From a86dea3901485188c07b89751d21f8afe51c2f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Leclaire-Fournier?= Date: Tue, 12 Mar 2024 15:06:26 -0400 Subject: [PATCH] README: Fix typo. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12354ac..18f9265 100644 --- a/README.md +++ b/README.md @@ -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