incr.comp.: Use a struct-of-arrays instead of an array-of-structs for SerializedDepGraph (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

rust-lang / rust Public

Additional navigation options

New issue

New issue

Closed

Closed

incr.comp.: Use a struct-of-arrays instead of an array-of-structs for SerializedDepGraph

#47326

Labels

A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.

@michaelwoerister

Description

@michaelwoerister

michaelwoerister

opened

on Jan 10, 2018

This should improve memory consumption and cache locality a bit because we are wasting space on padding bytes at the moment. It should also enable us to bulk-persist parts or all of the graph to disk at once instead of dealing with each value separately.

Metadata

Metadata

Assignees

No one assigned

Labels

A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions