mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +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
|
/// <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
|
/// a bigger size, a bigger dedicated segment will be allocated. On the wire, segments will be truncated to their actual
|
||||||
/// occupancies.</param>
|
/// occupancies.</param>
|
||||||
public SegmentAllocator(int defaultSegmentSize = 128)
|
public SegmentAllocator(int defaultSegmentSize = 64)
|
||||||
{
|
{
|
||||||
_defaultSegmentSize = defaultSegmentSize;
|
_defaultSegmentSize = defaultSegmentSize;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user