进来优化内存, 发现5.0的系统上, Shader有个不算bug的小问题,? Shader在绘制时, 会copy自身,? 如果使用shader做动画, 就会不断的copy自身, 不断的增加使用内存. 大概2k/s的速度上涨 sdk放出的源码中有一个@hide...
分类:
移动开发 时间:
2015-08-26 18:07:45
阅读次数:
138
估计刚开始使用Openstack用户,一定会比较困惑Openstack的镜像的初始化密码是多少? 不同的镜像初始化密码是不一样,这里做一个总结。 Contents [hide] 1 虚拟机登陆方式 2 Ubuntu镜像 3 Cirros 4 CentOS Gold Ima...
分类:
其他好文 时间:
2015-08-26 09:35:16
阅读次数:
324
一、选择器性能优化建议 1. 总是从#id选择器来继承 这是jQuery选择器的一条黄金法则。jQuery选择一个元素最快的方法就是用ID来选择了。1$('#content').hide(); 或者从ID选择器继承来选择多个元素:1$('#content p').hide(); 2. 在cl...
分类:
Web程序 时间:
2015-08-25 23:36:08
阅读次数:
296
DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the rabbit ...
分类:
其他好文 时间:
2015-08-21 22:53:00
阅读次数:
135
原题:DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the rabb...
分类:
其他好文 时间:
2015-08-21 21:21:49
阅读次数:
164
最大公约数DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the ra...
分类:
其他好文 时间:
2015-08-21 19:20:41
阅读次数:
154
DescriptionThere is a hill with n holes around. The holes are signed from 0 to n-1.A rabbit must hide in one of the holes. A wolf searches the rabbit ...
分类:
其他好文 时间:
2015-08-20 09:08:36
阅读次数:
106
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.Hide TagsDivide and ConquerLinked ListHeapHide Similar...
分类:
其他好文 时间:
2015-08-20 01:17:03
阅读次数:
192
$.post(url,[data],[callback],[type]) 第一个参数是地址,第二个参数是一个参数传递。第三个参数是一个回调函数。參数是请求返回数据的类型//一个ajax的Post请求 function submitInfo() { $(".warn").hide...
分类:
Web程序 时间:
2015-08-19 23:18:10
阅读次数:
134
<html><head><scripttype="text/javascript"src="/jquery/jquery.js"></script><scripttype="text/javascript">$(document).ready(function(){$("button").click(function(){$(this).hide();});});</script></head><body><..
分类:
Web程序 时间:
2015-08-19 11:26:19
阅读次数:
137