circuithub / rel8

Hey! Hey! Can u rel8?
https://rel8.readthedocs.io
Other
150 stars 38 forks source link

Add a `rebind` step to `alignWith` #213

Closed shane-circuithub closed 1 year ago

shane-circuithub commented 1 year ago

Rel8.Tabulate.alignWith uses theseTable to recover the key, which translates to a mess of nested CASE expressions. This becomes exponential with repeated uses of alignWith. Adding a rebind step to alignWith to rewrite this key expression each time makes this linear.