From 6d711b8579f656b9245bf92be79468421543e5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6llner?= Date: Sat, 22 Feb 2020 14:31:10 +0100 Subject: [PATCH] perf. experiment: smaller default segment size --- Capnp.Net.Runtime/SegmentAllocator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Capnp.Net.Runtime/SegmentAllocator.cs b/Capnp.Net.Runtime/SegmentAllocator.cs index eb591f5..1af1a04 100644 --- a/Capnp.Net.Runtime/SegmentAllocator.cs +++ b/Capnp.Net.Runtime/SegmentAllocator.cs @@ -49,7 +49,7 @@ namespace Capnp /// Default size (in words) of a newly allocated segment. If a single allocation requires /// a bigger size, a bigger dedicated segment will be allocated. On the wire, segments will be truncated to their actual /// occupancies. - public SegmentAllocator(int defaultSegmentSize = 128) + public SegmentAllocator(int defaultSegmentSize = 64) { _defaultSegmentSize = defaultSegmentSize; }