Skip to content
Prev 23166 / 63424 Next

Pre-compilation and server-side parallel execution

On Dec 8, 2006, at 9:51 AM, Erik van Zijst wrote:

            
Actually it does - see "R_ParseVector" and "eval". You're free to run  
the parser once (or even construct the expression directly) and  
evaluate it many times. (Also note that you can serialize the parsed  
expression if desired).

If your worries are really at this level, then you will have to  
create entirely your own solution, because the overhead of IPC will  
be way more that the time spent in the parser. Actually I'm wondering  
whether you checked it at all, because I'd almost certainly expect  
the evaluation to take way more time than the parsing step. If it  
does, I'd be inclined to think that you have rather a design problem.

Cheers,
Simon