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

[Optimization] Generate only required pieces #8

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

Conversation

id-ilych
Copy link

@id-ilych id-ilych commented May 8, 2018

Inverted pieces is generated along with regular ones to use when background image is set.
But these cases are mutually exclusive so you either need regular OR inverted ones.
Now only pieces that are going to be used are generated which is roughly 2x speed up (300ms -> 150ms in my case).

Inverted pieces is generated along with regular ones to use when background image is set.
But these cases are mutually exclusive so you either need regular OR inverted ones.
Now only pieces that are going to be used are generated which is roughly 2x speed up.
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