3 ms·
You can resolve this in basically every language by reworking your code in smaller pieces, and simply returning from a loop. Jumping left and right should only
by k8tte 11y ago
You can resolve this in basically every language by reworking your code in smaller pieces, and simply returning from a loop. Jumping left and right should only be signalling that you are Doing It Wrong (tm)
- JupiterMoon 11y agoI know this. As a said I would use this for one off scripts if it existed. (I'm not about to add a dependency to all my one off scripts though.)
- deleted 11y ago[deleted]
- scott_s 11y agoSee the reply by Intermernet elsewhere in this discussion: https://news.ycombinator.com/item?id=10251397 https://news.ycombinator.com/item?id=10251397
- semi-extrinsic 11y agoCan you do that without causing performance degradation e.g. through cache thrashing though? Fortran performance can vary significantly when you move stuff around.