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

Add value flattening #379

Open
LittleTealeaf opened this issue Jan 2, 2024 · 0 comments
Open

Add value flattening #379

LittleTealeaf opened this issue Jan 2, 2024 · 0 comments

Comments

@LittleTealeaf
Copy link
Owner

LittleTealeaf commented Jan 2, 2024

  • Flatten a ? b where both a and b are constants
  • Flatten a + (b + (c + d)) to tree ((a + b) + (c + d)
  • Perhaps more complicated ones:
    • a - b - c - d to (a - b) - (c + d)
@LittleTealeaf LittleTealeaf changed the title Add Value functionality to reduce needless operations Add value flattening Jan 4, 2024
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

No branches or pull requests

1 participant