Skip to content

Commit

Permalink
chore(runtime-core): use bit operations instead (#4142)
Browse files Browse the repository at this point in the history
  • Loading branch information
leno23 authored Jul 19, 2021
1 parent df0ce21 commit 84f6791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@ function getSequence(arr: number[]): number[] {
u = 0
v = result.length - 1
while (u < v) {
c = ((u + v) / 2) | 0
c = (u + v) >> 1
if (arr[result[c]] < arrI) {
u = c + 1
} else {
Expand Down

0 comments on commit 84f6791

Please sign in to comment.