2010年1月4日

mysql性能测试结论

摘要: 好像是zdnet的实验室做得一个权威测试吧 sqlserver在windows下的性能 oracle,mysql在linux下的性能 作比较(还有其他数据库系统,例如DB2,informix等) 结果,在500并发连接以下,sqlserver只比oracle,mysql稍弱一点点,比其他数据库系统都强!但到了750就开始拉大距离,上了1000以后所有数据库系统都不行了,只有mysql还紧紧地追着o... 阅读全文

posted @ 2010-01-04 15:05 jiahuafu 阅读(304) 评论(0) 推荐(0) 编辑

游戏编程性能优化--------------------------------------------------------------------------------------

摘要: 游戏编程性能优化-------------------------------------------------------------------------------------------1.全局变量名尽量用缩写,尽可能短,可以减小程序最终生所的体积2.for循环在较大的循环空间,写成几个循环,以利用CPU的Cache达到效果,将1000次循环改成100次的方法for(var i:int... 阅读全文

posted @ 2010-01-04 14:05 jiahuafu 阅读(243) 评论(0) 推荐(0) 编辑

Array的使用技巧

摘要: Array的使用技巧There are many instances when you might want to loop through all the elements of an array. For example, by looping through an array containing references to sprites, you can perform a partic... 阅读全文

posted @ 2010-01-04 10:51 jiahuafu 阅读(221) 评论(0) 推荐(0) 编辑

导航