[libcxx-commits] [PATCH] D141435: [libc++] Make pmr::monotonic_buffer_resource bump down

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 10 14:22:35 PST 2023


philnik created this revision.
philnik added reviewers: ldionne, Mordante, var-const, huixie90.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Bumping down is significantly faster than bumping up. This is ABI breaking, but the ABI of `pmr::monotonic_buffer_resource` was only stabalized in this release cycle, so we can still change it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141435

Files:
  libcxx/benchmarks/CMakeLists.txt
  libcxx/benchmarks/monotonic_buffer.bench.cpp
  libcxx/include/__memory_resource/monotonic_buffer_resource.h
  libcxx/src/memory_resource.cpp
  libcxx/test/libcxx/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_from_underaligned_buffer.pass.cpp
  libcxx/test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_deallocate.pass.cpp
  libcxx/test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_exception_safety.pass.cpp
  libcxx/test/std/utilities/utility/mem.res/mem.res.monotonic.buffer/mem.res.monotonic.buffer.mem/allocate_from_underaligned_buffer.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141435.487992.patch
Type: text/x-patch
Size: 8523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230110/69dbf1fb/attachment-0001.bin>


More information about the libcxx-commits mailing list