Skip to content

Commit

Permalink
reduce the initial capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
andreakarasho committed Jul 6, 2024
1 parent 8013c01 commit cfd57dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Archetype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal ChunkEnumerator(Span<ArchetypeChunk> chunks)

public sealed class Archetype
{
const int ARCHETYPE_INITIAL_CAPACITY = 16;
const int ARCHETYPE_INITIAL_CAPACITY = 4;

private ArchetypeChunk[] _chunks;
internal const int CHUNK_THRESHOLD = 0xFFF;
Expand Down

0 comments on commit cfd57dc

Please sign in to comment.