摘要: 猴子算法 冒泡升序 阅读全文
posted @ 2017-05-12 07:03 戈丫汝 阅读(234) 评论(0) 推荐(0) 编辑
摘要: function Post($url, $post = null){ $context = array(); if (is_array($post)) { ksort($post); $context['http'] = array ( 'timeout'=>60, 'method' => 'POS 阅读全文
posted @ 2017-05-12 06:39 戈丫汝 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 一、redis 数据结构使用场景 原来看过 redisbook 这本书,对 redis 的基本功能都已经熟悉了,从上周开始看 redis 的源码。目前目标是吃透 redis 的数据结构。我们都知道,在 redis 中一共有5种数据结构,那每种数据结构的使用场景都是什么呢? String——字符串 H 阅读全文
posted @ 2017-05-12 06:30 戈丫汝 阅读(508) 评论(0) 推荐(0) 编辑