Major improvement potential in embedded perl
Posted: Fri Feb 03, 2017 2:58 am
When the major part of the perl script's execution time is in loading modules, the embedded perl interpreter doesn't provide any noticeable performance benefit. I have some scripts that spend 99% of the time in 'use Whatever::Module', and would like to speed them up by loading the needed modules beforehand.
So, the question is: Is there any way to load modules into the interpreter, and then access them from the embedded plugin?
This would make the embedded interpreter MUCH more useful. The best would be if the p1.pl script could automagically get the needed module names from the plugin, and load them into the plugin's scope...
So, the question is: Is there any way to load modules into the interpreter, and then access them from the embedded plugin?
This would make the embedded interpreter MUCH more useful. The best would be if the p1.pl script could automagically get the needed module names from the plugin, and load them into the plugin's scope...