On occasion this is lightning fast so clearly it works well when everything lines up.
The edit goes line by line, taking up to dozens of seconds for large functions.
This is with version 0.41.3
Devs, if you could fix this that would be wonderful - it is such a drag on the experience.