Xcode Playground: attempt to disable output for specific lines of code

I have a very long cycle, which will always remain on the playing field due to the constant exit. Is there a way to disable output for specific lines of code? I still want all this to be done, I just don't want to wait to see the result.

FYI - I know I can use the code on demand, but that doesn't matter. It still takes forever. I do not mind that it works all the time, I just want it to work without all the output.

FYI - I also know that the playground is not used for performance. I just don't want to wait forever to see the result. I do not test performance.

+5
source share

Source: https://habr.com/ru/post/1234871/


All Articles