on develop help sign in
Merge pull request #184 from reflex-frp/update-swap-rows

Swap different row numbers on krausest benchmark

commit9fb2229718579aaeccc6d72ae89b71afc770d740 authorRyan Trinkle <ryan.trinkle@gmail.com> dateTue 21 Nov 2017, 14:40 (9 years ago) parent9a0a7d9c79d9fe
1 file changed+1−1
reflex-dom/benchmarks/krausest.hs+1−1
reflex-dom/benchmarks/krausest.hs+1−1
@@ -46,7 +46,7 @@ bodyW seed = divClass "main" $ divClass "container" $ mdo
4646 , buttonW "add" "Append 1,000 rows" $ appendRows 1000
4747 , buttonW "update" "Update every 10th row" $ updateRows (\i -> mod i 10 == 0) (<> " !!!")
4848 , buttonW "clear" "Clear" $ clearRows
49− , buttonW "swaprows" "Swap Rows" $ swapRows (4, 9)
49+ , buttonW "swaprows" "Swap Rows" $ swapRows (1, 998)
5050 ]
5151
5252 let initial = Model { rng = mkStdGen seed, nextNum = 1, selection = Nothing }