Skip to content

Type features - #727

Merged
bitshifter merged 32 commits into
mainfrom
type-features
Apr 27, 2026
Merged

Type features#727
bitshifter merged 32 commits into
mainfrom
type-features

Conversation

@bitshifter

Copy link
Copy Markdown
Owner

Objective

  • As glam has accumulated more types over time compile times have greatly increased. This PR makes most types optional so they can be disabled if that are not used to reduce compile times back to the good old glam days.
  • Fixes Slow compile times? #726

Solution

  • All types can be disabled excepted for f32 and bool. All types are enabled by default but users can disable default features and enable only the types that they use.

Breaking changes

If default features are disabled then users will need to re-enable any types that they are using.

@bitshifter
bitshifter merged commit ea4d17b into main Apr 27, 2026
39 checks passed
@bitshifter
bitshifter deleted the type-features branch June 15, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant