Skip to content

Store Margin using i8 to reduce its size - #5567

Merged
emilk merged 1 commit into
masterfrom
emilk/shrink-margin
Jan 2, 2025
Merged

emilk merged 1 commit into
masterfrom
emilk/shrink-margin

Conversation

@emilk

@emilk emilk commented Jan 2, 2025

Copy link
Copy Markdown
Owner

Adds Marginf to fill the previous niche.

This is all in a pursuit to shrink the sizes of often-used structs, to improve performance (less cache misses, less memcpy:s, etc).

@emilk emilk added performance Lower CPU/GPU usage (optimize) egui epaint labels Jan 2, 2025
@github-actions

github-actions Bot commented Jan 2, 2025

Copy link
Copy Markdown

Preview available at https://egui-pr-preview.github.io/pr/5567-emilkshrink-margin
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@emilk
emilk merged commit d58d137 into master Jan 2, 2025
@emilk
emilk deleted the emilk/shrink-margin branch January 2, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

egui epaint performance Lower CPU/GPU usage (optimize)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant