You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ObjectPool has terrible performance because we used std::shared_ptr to track objects that are in the cache, when really we should be using std::unique_ptr. This design choice was made in order to support libstdc, but because we no longer support it, we should probably fix ObjectPool's current performance issue, especially if we are recommending that people use it in preference of operator new.
The text was updated successfully, but these errors were encountered:
ObjectPool
has terrible performance because we usedstd::shared_ptr
to track objects that are in the cache, when really we should be usingstd::unique_ptr
. This design choice was made in order to support libstdc, but because we no longer support it, we should probably fixObjectPool
's current performance issue, especially if we are recommending that people use it in preference ofoperator new
.The text was updated successfully, but these errors were encountered: