Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 184cf9f

Browse files
committed
modify store for new swap benchmark
1 parent cd72bfb commit 184cf9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hyperhtml-v2.1.2-non-keyed/src/store.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ export class Store {
122122
}
123123
swapRows() {
124124
if (this.data.length > 10) {
125-
var a = this.data[4];
126-
this.data[4] = this.data[9];
127-
this.data[9] = a;
128-
}
125+
var a = this.data[1];
126+
this.data[1] = this.data[998];
127+
this.data[998] = a;
128+
}
129129
}
130130
}
131131

0 commit comments

Comments
 (0)