in reply to Re: hrm, Eval::Compile
in thread hrm, Eval::Compile
Ok, so I've gone away and had a think about that and I think I can see a way of organising it so that the plugins can remain the same, however there is still another problem.
lets say you have a situation like this:
(foo) <bar><x/></bar> (/foo)
Where for instance foo does a database lookup and for each row of the database returns <bar> with the x value filled in. Now we have a certain number of <bar> directives to compute, the number of which is unknown until foo has been computed.
Each time the program runs there could be a different number of rows retrieved from the database, so unless we compile each time, negating the point of the excercise, there is no way to know how many instances of the compiled <bar> directive to include in the precompiled file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: hrm, Eval::Compile
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 | |
by Corion (Patriarch) on Jul 20, 2011 at 13:56 UTC | |
by Anonymous Monk on Jul 20, 2011 at 22:47 UTC | |
by Logicus (Initiate) on Jul 21, 2011 at 00:26 UTC | |
|