knime-ip / knip-scripting

KNIP Scripting Extension based on SciJava-Scripting
3 stars 0 forks source link

Improve Node loading time #32

Closed gab1one closed 8 years ago

gab1one commented 9 years ago

The node slows down the loading time of KNIME, by slowing down the loading time of any workflow containing it.

dietzc commented 9 years ago

when a workflow is loaded, the script is compiled 3 times.

gab1one commented 9 years ago

The node loading time is still slower than most nodes but not a big problem anymore.

dietzc commented 9 years ago

anyway, the script should not be compiled so often an we should avoid too many contexts.

gab1one commented 8 years ago

There is only one context per node now and the compilations are reduced quite a bit. Node loading time is no longer an issue.