Skip to content

Consider disabling field alignment lint check #4557

@andrewsykim

Description

@andrewsykim

We initially enabled field alignment lint for memory optimization. However, I find that force reordering fields often come at a cost of readability and is adding more friction in development compared to the performance improvements we get from it.

For example, this was a recent lint failure for a unit test that I thought was unecessary:

Image

Opening this issue to get thoughts from other contributors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions