Skip to content

perf: Spawn system performance improvements #59

@0ffz

Description

@0ffz

Update spawning system logic to calculate nearby mob category caps much less often, and more efficiently

  • Calculate once for a SUBchunk (i.e. 16x16x16 area), then cache for subsequent retries
  • Optimize collection slightly (overhead of counting using grouping)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Prioritized

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions