mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
## Problem The gRPC `page_api` domain types used smallvecs to avoid heap allocations in the common case where a single page is requested. However, this is pointless: the Protobuf types use a normal vec, and converting a smallvec into a vec always causes a heap allocation anyway. ## Summary of changes Use a normal `Vec` instead of a `SmallVec` in `page_api` domain types.
19 lines
387 B
TOML
19 lines
387 B
TOML
[package]
|
|
name = "pageserver_page_api"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
bytes.workspace = true
|
|
pageserver_api.workspace = true
|
|
postgres_ffi.workspace = true
|
|
prost.workspace = true
|
|
thiserror.workspace = true
|
|
tonic.workspace = true
|
|
utils.workspace = true
|
|
workspace_hack.workspace = true
|
|
|
|
[build-dependencies]
|
|
tonic-build.workspace = true
|