Re: [Pydev-code] threaded jython completion server and console.
Brought to you by:
fabioz
From: Kostas G. <geo...@gm...> - 2010-01-26 14:38:06
|
Hi again, >So, that would be more for speed right? yessss. Probably it will get some speed up, don't you think? >I must say that I'm not sure that >this approach is feasible because when you're gathering completions, you >actually want to use a different Python or Jython interpreter (and not embed >all into the Eclipse VM), putting it in a thread with different classloader (equinox magic) is making it actually a different interpreter, or not?? Is just that you should do all the initialization of package additions manually (addJar, addDir, etc). >and making it a Thread you wouldn't have access to that. can you explain it a bit more please. The communication could be done through a shared variable, a pipe stream, asychronous method invocation or something else. >What do you think? thinking.... :-)So you think is difficult? Regards, Kostas |