Adjust SmallVec buffer sizes to account for overhead.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-06-12 11:08:29 +00:00
parent 37afdb0e90
commit 026d756ef4
2 changed files with 3 additions and 3 deletions

View File

@@ -75,7 +75,7 @@ pub enum SendingEvent {
pub type EduBuf = SmallVec<[u8; EDU_BUF_CAP]>;
pub type EduVec = SmallVec<[EduBuf; EDU_VEC_CAP]>;
const EDU_BUF_CAP: usize = 128;
const EDU_BUF_CAP: usize = 128 - 16;
const EDU_VEC_CAP: usize = 1;
#[async_trait]