git.iko.soy/typeable/elm-ui
on master help sign in
don't vary colors in a pathological way, that's for another test.
fcb6e3dMatthew Griffith
benchmarks/src/ManyElements.elm+2−2
@@ -343,14 +343,14 @@ viewEl selectedIndex index =
343 el
343 el
344 [ Background.color
344 [ Background.color
345 (if selectedIndex == index then
345 (if selectedIndex == index then
346− pinkish index
346+ pink
347
347
348 else
348 else
349 white
349 white
350 )
350 )
351 , Font.color
351 , Font.color
352 (if selectedIndex /= index then
352 (if selectedIndex /= index then
353− pinkish index
353+ pink
354
354
355 else
355 else
356 white
356 white