We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey,
Although Quantize already includes tests for overlapping
Quantize
asciinema-edit/editor/quantize_test.go
Lines 75 to 80 in c33b7f4
we don't make use of it after parsing the ranges.
We can make an O(n^2) checking over the ranges and that should be fine:
O(n^2)
for i, _ := range ranges: for k, _ := range ranges: if i == k: continue if ranges[i].overlaps(ranges[k]): error
thx!
The text was updated successfully, but these errors were encountered:
Similar to #11 , but instead, apply it only for the quantization transformation.
Sorry, something went wrong.
No branches or pull requests
Hey,
Although
Quantize
already includes tests for overlappingasciinema-edit/editor/quantize_test.go
Lines 75 to 80 in c33b7f4
we don't make use of it after parsing the ranges.
We can make an
O(n^2)
checking over the ranges and that should be fine:thx!
The text was updated successfully, but these errors were encountered: