4 ms·
A static analyzer doesn't know that you won't click all the boxes though.
by PeCaN 11y ago
A static analyzer doesn't know that you won't click all the boxes though.
- Dylan16807 11y agoIt still renders in O(n) time where n is the number of elements. You don't need Turing completeness to have trouble caused by user input. Imagine a million check boxes where the only rule is that they shrink by a pixel when checked. That should be about the same difficulty to analyze as the 110 rule checkboxes. Each input only affects the styling of 1-3 nodes.