This commit is contained in:
Felix Roos 2022-11-21 21:59:08 +01:00
parent 4c838aeaca
commit 8304993481
2 changed files with 2 additions and 1 deletions

View file

@ -800,6 +800,7 @@ export class Pattern {
* s("<bd sd> hh").fast(2) // s("[<bd sd> hh]*2")
*/
_fast(factor) {
factor = Fraction(factor);
const fastQuery = this.withQueryTime((t) => t.mul(factor));
return fastQuery.withHapTime((t) => t.div(factor));
}