RE: [Ikvm-developers] RE: ikvm performance
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2003-08-28 13:23:43
|
Jonathan Pierce wrote: > Why not handle missing methods and illegal access errors the same as > classnotfound errors, by using reflection at runtime in case=20 > the issues got resolved since the assembly was compiled?=20 The classnotfound support was designed for running Java code with ikvm, the fact that it also works with ikvmc is a free side effect. > You might be able to address the performance issue by=20 > generating temporary stub wrappers that would cache the > dynamically loaded type or method once they were looked > up for the next time they were called and invoke them by > reference instead of by name. It could be made to approach normal performance by dynamically generating some glue code, but it is hard for me to justify the extra complexity. Regards, Jeroen |