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 distance field functions (2) #278

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

duvisit
Copy link
Contributor

@duvisit duvisit commented Jan 10, 2024

Split from previous PR

This epsilon value (1e-3) produces exact results as original.
@rougier
Copy link
Owner

rougier commented Jan 22, 2024

Thanks. Can you post an example showing before / after (just to make sure things are working as expected)?

@duvisit
Copy link
Contributor Author

duvisit commented Jan 22, 2024

I rasterized vera.ttf font 95 ascii characters and compared output from original and optimized. They are equal. Please wait with this PR and I will add test/example program.

@duvisit
Copy link
Contributor Author

duvisit commented Jan 25, 2024

optimized / original average time ratio: 0.39

@duvisit
Copy link
Contributor Author

duvisit commented Jan 27, 2024

That's all. You can now merge this PR.

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