Sublime-Evaluate icon indicating copy to clipboard operation
Sublime-Evaluate copied to clipboard

plugin is not working for large sselections

Open alqershi opened this issue 7 years ago • 2 comments

Hi All,

when I try this plugin on a few selection, it is working fine. However, when I apply it on large selections like 600,000 selections, sublime stops responding and nothing is happening. I'm running a windows machine.

can this be solved?

Thanks all,

alqershi avatar Nov 19 '17 11:11 alqershi

Are you doing shell eval or python eval?

weichuliu avatar Apr 09 '18 05:04 weichuliu

I guess it's because Sublime is spawning too many threads to evaluate your snippets. Current setting IIRC is Sublime creating as many threads as your codeblock.

On the other hand, since Sublime, as an editor, is recording all your changes, your huge evaluation will still create huge mem/cpu usage, which is highly not recommended. IMO, even if you are typing with 600k cursors, it will be extremely slow.

So my suggestion will be that you run the evaluation in a proper way (from terminal) when you have more than 3000 codeblocks.

weichuliu avatar Apr 10 '18 02:04 weichuliu