On Thu, 9 Jan 2025 21:51:05 GMT, John Hendrikx <jhendr...@openjdk.org> wrote:
> I'm unsure how that would prevent issues. It will then still require setting > a pseudo class on all elements in the list, in addition to losing all other > optimizations when the list is only shifted by a few elements... The performance hit is caused by the quadratic time complexity when you call `set(0, child)` in a loop. If you call `setAll(children)` instead, the time complexity is linear. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1652#issuecomment-2581313363