<br><div>I do:</div><div><br></div><div>(let ((meth (jmethod "java.lang...." "javaMethodName" "arg-type"))</div><div> (cls (jclass "java.lang.....")))</div><div> (defun lisp-fun (arg)</div>
<div> (jcall meth cls arg)))</div><div><br></div><div>Rather than:</div><div><br></div><div>(defun lisp-fun (arg)</div><div> (jcall (jmethod "java.lang...." "javaMethodName" "arg-type")</div>
<div> (jclass "java.lang.....")</div><div> arg))</div><div><br></div><div>In order to cache the jmethod and jclass calls. I read in another post that this had no value because (essentially) this is what the compiler is doing anyway. Is this true? Does it make any difference which way I do it in terms of speed?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Blake McBride</div><div><br></div>