Skip to content

Primary cache: don't denormalize defaulted values #4779

@teh-cmc

Description

@teh-cmc

The ArchetypeView correctly turns missing optional components into streams of default values when they get joined, but the cache then proceeds to materialize and cache them as such, which wastes a lot of space.
This deserves to be special cased asap.

Let's not do anything before range support is in though; it's very easy to draw ourselves into a corner here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions