plugin command optimizer #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
currently the following script:
means we do 6 plugin loops, one for each plugin run.
we can speed this up by combining commands that relate to the same plugin, add their positions and parameters to a list, and then have something like
Image.runPluginMulti
.we can either implement this on
Runner
orLang
. Implementing on Runner seems the simplest of the options, but implementing onLang
could be more extensible, however, I don't see of any other optimization case that can be done on the scripts.optimizerto plugin command optimizerI was able to optimize plugin runs by making the tight main-plugin-run loop as small as possible, this isn't as required anymore.