3 ms·
The ideal solution to this is the pattern of turning decisions that have to be thought about before you click the button into decisions that can be easily undon
by iudqnolq 4y ago
The ideal solution to this is the pattern of turning decisions that have to be thought about before you click the button into decisions that can be easily undone.
In this case detect the pathological case and spawn a separate thread that computes the text. Show a progress indicator and an easy cancel button.
Of course, that's harder to implement.