mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 06:41:50 +01:00
perf. experiment: smaller default segment size
This commit is contained in:
parent
335414ed53
commit
6d711b8579
@ -49,7 +49,7 @@ namespace Capnp
|
||||
/// <param name="defaultSegmentSize">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.</param>
|
||||
public SegmentAllocator(int defaultSegmentSize = 128)
|
||||
public SegmentAllocator(int defaultSegmentSize = 64)
|
||||
{
|
||||
_defaultSegmentSize = defaultSegmentSize;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user