Am 13.07.2006 um 23:40 schrieb Stephen Deasey:


I was suggesting that maybe there should be a away around this as in
some cases, like ours, we specifically make sure that all interps are
identical: we create one master interp at start up and then clone it
for each new thread.  No one seemed excited by this though...

You can't do that, as when you compile:

  set a 1

in intrep A and interp B the "1" will result in different literal
object so bytecode rep must be recompiled anyways. Even if you
have one thread and several interps, each time the compiled
bytecode object gets evaluated in the different interp, it gets
recompiled.

Therefore I would suggest people who need last microsecond of
performance to put most of the frequently used code in procedures.

Cheers
Zoran

Reply via email to