http://developer.51cto.com/art/201307/404612.htm150M active users300K Qps (read,
only 6000 write/s)22MB/s triffic800 redis server. (use redis list)内部组...
分类:
Web程序 时间:
2014-05-14 03:50:34
阅读次数:
365
HashMap是Java中的一个重要的数据结构!与HashMap更重要的一个数据结构是HashTable,其中最重要的区别是HashTable传说中是线程安全的(之所以说他是传说是因为我并没有去理解为什么,这是我的错,没有理解就搬上了讲台!)HashMap的内部结构很简单,如下(图片来自import...
分类:
其他好文 时间:
2014-05-14 03:44:24
阅读次数:
298
windows下开发用的xampp集成的环境,想装个php-redis扩展,扩展的github地址:https://github.com/nicolasff/phpredis描述里找到windows下安装的过程:https://github.com/nicolasff/phpredis/issues...
分类:
Web程序 时间:
2014-05-11 23:02:42
阅读次数:
462
邻接矩阵的图示:
构建一个这样的无向邻接矩阵。
参考网站: http://www.geeksforgeeks.org/graph-and-its-representations/
这里写了个类,增加删除图的操作。
#pragma once
#include
#include
class AdjListGraph
{
struct Node
{
int dest;
...
分类:
其他好文 时间:
2014-05-11 22:44:20
阅读次数:
378
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=151
For each list of words, output a line with each word reversed without changing the order of the words.
This problem contains multi...
分类:
其他好文 时间:
2014-05-11 22:20:43
阅读次数:
443
(一)
Linux系统支持不同进程间共享打开的文件。...
分类:
系统相关 时间:
2014-05-11 21:50:56
阅读次数:
417
摘要: Redis是目前业界非常受到欢迎的一个内存数据库,一般用作系统的中间缓存系统,用以提升整体商业系统的吞吐量和响应速度。本文将简要介绍安装的主要过程以及给出一个简要的测试代码。...
分类:
其他好文 时间:
2014-05-11 20:33:05
阅读次数:
400
想编写安卓游戏,java太难,来试试App Inventor,虽然有人认为他是中学生的玩具,但是也能编写2048这样的火爆游戏,不需要太复杂的算法。
整个游戏有几个模块:
一、游戏初始化
数列转化为图形,使用了canvas和精灵,相对应list,这里注意精灵位置是固定的,只是更改图片,多少分,就对于n.jpg,0分是底色图片。左右移动,使用了flung判断,绝对值判断,水平速度和垂直...
分类:
移动开发 时间:
2014-05-11 20:05:17
阅读次数:
595
Given a linked list, reverse the nodes of a
linked listkat a time and return its modified list.If the number of nodes is not
a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-05-11 18:15:52
阅读次数:
300
题目链接刷刷Python基本功...列表解析附上代码:1 x = int(input())2 y =
int(input())3 z = int(input())4 n = int(input())5 print [[i, j, k] for i in
xrange(x+1) for j in xr...
分类:
其他好文 时间:
2014-05-11 18:05:07
阅读次数:
276