Post

It’s a different thing. That post mentions that adding it to the “whitelist” configuration file is same as flagging it as Stable, so two instances of it are compared using equals. Strong skipping does not do that, collections remain unstable and compared with ===.

0 reposts0 likes

So the idea is with strong skipping, === is an extremely fast check. Imagine you have a lazy list and an array with a couple of hundred items, 3 on screen. Depending on the cost of equals, it's faster to let that higher level recomposition happen with ===.

Then the lazy list calls equals on the 3 visible items. If your list was stable, you'd call equals on each item and pay it for a couple of hundred times. Then the lazy list still calls equals again for the 3 visible items. Tldr, stable lists aren't always faster even if they avoid recomposition