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

Avoid elision by even odd rules #59

Merged
merged 3 commits into from
Aug 10, 2024
Merged

Avoid elision by even odd rules #59

merged 3 commits into from
Aug 10, 2024

Conversation

jzbrooks
Copy link
Owner

@jzbrooks jzbrooks commented Aug 4, 2024

No description provided.

@jzbrooks
Copy link
Owner Author

It might be possible to avoid evenOdd issues by determining if a particular path would be omitted from the final render based on surroundings, but this is simpler for now.

vgo# vgo/build/libs/vgo --indent 2 --stats vgo/src/test/resources/baseline/eleven_below_single_optimized.xml -o ~/Desktop/test.xml
Size before: 59.29 KiB
Size after: 57.71 KiB
Percent saved: 2.6519519024872347

After the change.

@jzbrooks jzbrooks enabled auto-merge (squash) August 10, 2024 02:11
@jzbrooks jzbrooks force-pushed the merge-path-even-odd branch from 929e872 to e9782cb Compare August 10, 2024 02:19
@jzbrooks jzbrooks merged commit 0229b5d into master Aug 10, 2024
2 checks passed
@jzbrooks jzbrooks deleted the merge-path-even-odd branch August 10, 2024 02:21
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