一种在应用程序的时间敏感型部分避免类加载延迟通用技术是,在应用程序启动或初始化期间预先加载类。
A generic technique to avoid class-loading delays during the time-sensitive parts of your application is to preload classes during application startup or initialization.
它涉及到加载一个初始ram磁盘(initrd),然后将控件传给一个名为init的程序,通常作为sysvinit包的一部分安装的一个程序。
It involves loading an initial ram disk (initrd) and then passing control to a program called init, a program that is usually installed as part of the sysvinit package.
应用程序的初始加载时间将明显少于部署非构建Dojo应用程序时所用的时间。
The initial load time for the application is reduced to fractions of what would be observed if you deployed with an un-built Dojo application.
可以修改并重新加载包含文件中的、在应用程序初始化期间未使用的设置,而无需重新启动应用程序。
Settings in an include file that are not used during application initialization can be modified and reloaded without requiring an application restart.
使用这些事件处理程序,可在加载外接程序时对外接程序进行初始化,并在卸载外接程序时清理外接程序所使用的资源。
Use these event handlers to initialize your add-in when it is loaded, and to clean up resources used by your add-in when it is unloaded.
使用这些事件处理程序,可在加载外接程序时对外接程序进行初始化,并在卸载外接程序时清理外接程序所使用的资源。
Use these event handlers to initialize your add-in when it is loaded, and to clean up resources used by your add-in when it is unloaded.
应用推荐