From: Ted B. <te...@et...> - 2001-09-13 18:24:54
|
On Tuesday 11 September 2001 12:43, Finn Bock wrote: > [Ted Berg] > > This is just a very minor suggestion to your perfectly valid example. <snip> > > Calling exec() is quite slow compared to calling the API directly: > > PySystemState sys = Py.getSystemState(); > sys.path.append(new PyString(buf.toString())); > > OTOH when addDirToInterpPath() is only called once it hardly matter at > all except to my sense of rightness. > > Thanks for posting your example. Your sense of rightness can rest knowing that all is well ( at least in this respect ) with one application. :) Thank you for your suggestion, it is definitely a more elegant soluion. ted |