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

Optimize alpha counting in AverageRender #32

Open
spillerrec opened this issue Jun 4, 2014 · 0 comments
Open

Optimize alpha counting in AverageRender #32

spillerrec opened this issue Jun 4, 2014 · 0 comments

Comments

@spillerrec
Copy link
Owner

Half of the time is spend on counting how many images affects a specific pixel, and how much. When all the images does not containing a alpha channel, we could optimize this.

We could optimize for just the vertical alignment case, as this is 95% of the cases, or we could try to generalize it to both directions. For that we could have a stack for each line which marks when, and how much the amount of images changes.
For now I propose we just optimize it for the vertical case, which just needs a count for each line.

@spillerrec spillerrec modified the milestone: Version 0.5 Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant