Logicus has asked for the wisdom of the Perl Monks concerning the following question:
Just found this : Eval::Compile
I was thinking this might solve the performance issue in my system of evalling the plugin strings, but it says it is not ready and is not thread safe... so my question is, what problems might arise from it being non thread safe?
On a side note...
I really don't want to make the plugin code more complex, just for the sake of saving a few clock ticks. Right now the plugins are very simple to write, and various suggestions that have been made by folks like corion, required that I change the way the plugins work.
For instance under corions way of doing it, the plugin should create perl which does a given task, rather than simply being the perl which does the task, so that the parser creates a perl program from the aXML document once and that program gets stored. That's very nice, and would be very fast, but it means the plugins would be a lot harder to code and one of the aims of the system in the first place was to make things easy!
Keep it simple...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hrm, Eval::Compile
by MidLifeXis (Monsignor) on Jul 20, 2011 at 09:28 UTC | |
|
Re: hrm, Eval::Compile
by Anonymous Monk on Jul 20, 2011 at 05:13 UTC | |
by Logicus (Initiate) on Jul 20, 2011 at 06:30 UTC | |
by Anonymous Monk on Jul 20, 2011 at 06:50 UTC | |
by Logicus (Initiate) on Jul 20, 2011 at 07:05 UTC | |
by Logicus (Initiate) on Jul 20, 2011 at 13:49 UTC | |
|