`
reg
  • 浏览: 4276 次
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
<script language="javascript" type="text/javascript">document.title="Java程序性能优化 ! - "+document.title</script> 一、避免在循环条件中使用复杂表达式 在不做编译优化的情况下,在循环中,循环条件会被反复计算,如果不使用复杂表达式,而使循环条件值不变的话,程序将会运行的更快。 例子: import java.util.Vector; class CEL {     void method (Vecto ...
WebApplicationContext context = (WebApplicationContext) config.getServletContext().getAttribute (WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE);  
Global site tag (gtag.js) - Google Analytics