摘要
在PHP项目"高职院校共享型专业教学资源库平台"的开发中,通过研究与实践提出如何利用数组来降低因多重循环而引起的时间复杂度的问题。特别是当程序需要多次与数据库进行交互时,用此种方法来优化程序代码,将会使程序的运行速度大大加快,同时能降低系统消耗,具有很好的效果。
In the exploration of PHP project of the type of sharing professional teaching resources in higher vocational collages, the method of reduc- ing the time complexity caused by multiple cycles is to put forward through researches and practices. Especially when the program needs to multi-interact with the database, using this method to optimize the program code will greatly accelerate the program running speed and effectively reduce the system cost.
出处
《现代计算机》
2013年第23期55-57,共3页
Modern Computer
基金
常州工程职业技术学院2012年院级教育研究重点课题(No.12JY005)