发信人: kamkam(KK)
整理人: kamkam(2002-05-04 21:58:47), 站内信件
|
Java需要装入JVM,client端第一次运行的时候装入,server端,随着http装入的时候装入(所以不用http就不要装入了,估计慢也是受到jvm影响 :) )有关java没有什么好说,就说两点。
1.将需要的java类,尽可能放在类列表前面,尽可能接近base类,可以加快搜索速度
2.周期性调用回收函数,java本身是自动进行垃圾收集的,但是该书的意思似乎说java的垃圾回收,不能回收相关lotus objects用掉的内存(This function will free memory used by unreferenced Domino objects. The LotusScript interface performs this task automatically but Java does not. An unreferenced object is any object that does not have a variable or another object that refers to it. Unreferenced objects can result when an object variable goes out of scope or is assigned to another object. In LotusScript, objects that become unreferenced are immediately destroyed. While Java as a language does have its own “garbage collection,” this method does not clear the memory used by the underlying Domino objects.)
3.Javascript,没有什么好说的,用于web页面,域校验,和输入转换,可以避免browser和web server来回交换数据,减少网络流量
---- ---------------
我心是澎湃的海 我心是动荡的舟 |
|