Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or ...
分类:
其他好文 时间:
2017-09-13 14:03:26
阅读次数:
94
这是原文 手机游戏的性能异常重要,特别是对于快节奏的动作游戏。你可能知道,我们现在在做一款安卓/IOS平台的弹球游戏,他的特点是在一个3D世界中迅速的物理引擎结合完整的角色动画,任何弹球游戏需要60fps的性能,为了实现它我们需要一点一滴地压榨设备CPU。 所以,我们面对的挑战是,如何在至少60fp ...
分类:
编程语言 时间:
2017-09-13 13:03:29
阅读次数:
700
其它异常,Could not read document: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value at [ ...
分类:
Web程序 时间:
2017-09-13 11:55:57
阅读次数:
2811
Java中奖数组转换为List<T>容器有一个很方便的方法 Arrays.asList(T ... a),我通过此方法给容器进行了赋值操作,接着对其进行 添加元素,却发现会抛出一个(java.lang.UnsupportedOperationException)异常。 看了一下源码: 定位到 Arr ...
分类:
其他好文 时间:
2017-09-13 01:32:40
阅读次数:
231
1、hibernate5 配置JAR包如下: antlr-2.7.7 c3p0-0.9.5.2 classmate-1.3.0 dom4j-1.6.1 hibernate-c3p0-5.2.10.Final hibernate-commons-annotations-5.0.1.Final hibe ...
分类:
Web程序 时间:
2017-09-13 00:24:00
阅读次数:
386
Love me little and love me long. 不求情意浓,但愿情意久。 Some people say beautiful young people are the creature of nature, but beautiful old people are true wor ...
分类:
其他好文 时间:
2017-09-13 00:20:39
阅读次数:
150
一 介绍 为何要有索引? 一般的应用系统,读写比例在10:1左右,而且插入操作和一般的更新操作很少出现性能问题,在生产环境中,我们遇到最多的,也是最容易出问题的,还是一些复杂的查询操作,因此对查询语句的优化显然是重中之重。说起加速查询,就不得不提到索引了。 什么是索引? 索引在MySQL中也叫做“键 ...
分类:
数据库 时间:
2017-09-12 20:44:41
阅读次数:
171
【2.以下是更新统计信息】 【1.以下是索引重建】 摘自: http://www.cnblogs.com/shijun/archive/2012/04/21/2461737.html 项目升级数据库由SQL2000升级到2008R2,今天对数据库表进行碎片扫描,发现有些表碎片较大,于是决定重建索引, ...
分类:
数据库 时间:
2017-09-12 19:54:26
阅读次数:
168
1.win7 64位下安装 1)下载Understand.4.0.908.x64.rar。 2)解压之,直接运行里面的Understand-4.0.908-Windows-64bit.exe。 3)选择如下 之后,点击“Add Eval or SDL (RegCode)”,如下图: 4)出现如下界面 ...
分类:
其他好文 时间:
2017-09-11 23:33:47
阅读次数:
1227
CENTOS设置MYSQL字符集 vim etc/my.cnf 修改成如下: [client] port=3306 socket=/var/lib/mysql/mysql.sock default-character-set=utf8 [mysqld] datadir=/var/lib/mysql ...
分类:
数据库 时间:
2017-09-11 21:07:03
阅读次数:
282