mirror of
https://github.com/facebook/rocksdb.git
synced 2026-10-23 08:09:02 +03:00
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/15298 ## Summary BlockBasedTable::MultiGetCoroutine() embedded the synchronous 8 KiB scratch buffer in every coroutine frame, including cache-hit requests. The change uses zero coroutine stack capacity and allocates the required heap size only when I/O is needed, while preserving synchronous behavior. ## Benchmarks | Variant | Coroutine frame allocation | | Before | 21,048 bytes | | After | 12,864 bytes | | Change | -8,184 bytes (-38.9%) | No API, format, or read-result changes. Reviewed By: xingbowang Differential Revision: D122810207 fbshipit-source-id: 003a8349b8da72de2eca2e62fb9f7b3d8802baed