neondatabase / neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
https://neon.tech
Apache License 2.0
13.18k stars 367 forks source link

L0 flush: avoid short-lived allocation when checking key_range empty #8154

Closed problame closed 3 days ago

problame commented 4 days ago

We only use keys to check if it's empty so we can bail out early. No need to collect the keys for that.

Found this while doing research for https://github.com/neondatabase/neon/issues/7418

github-actions[bot] commented 4 days ago

2922 tests run: 2805 passed, 0 failed, 117 skipped (full report)


Code coverage* (full report)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
fcf55189004bd3119eed75e2873a97da8078700c at 2024-06-25T12:10:09.347Z :recycle: