Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: Only use image's png feature to speed up compile #958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Elabajaba
Copy link

The examples only needs the png feature, so disable default features and only add the png feature.

This saves ~4s (16s->12s) and reduces the built dependencies from 180 to 113 on Linux with a 5900x.

@MarijnS95 MarijnS95 changed the title Only use image's PNG feature instead of its default features to speed up compiling the examples. examples: Only use image's png feature to speed up compile Oct 25, 2024
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

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.

2 participants