- C++标准库中std::map和std::unordered_map对比及如何选择
photon_wa
C++
0.概述std::map和std::unordered_map都是一种存储{key,value}的容器,并提供成员函数来高效地插入、搜索和删除键值对。顾名思义,std::map是有序的,std::unordered_map是无序的。后者以前叫做hash_map。以下是他们的不同点:容器mapunordered_map有序性有序无序内部实现方式平衡二叉查找树哈希表查找时间复杂度O(logN)平均O(
- C++STL容器使用经验总结
雨羊
知识点总结STL
第1条:慎重选择容器类型。标准STL序列容器:vector、string、deque和list。标准STL关联容器:set、multiset、map和multimap。非标准序列容器slist和rope。slist是一个单向链表,rope本质上是一“重型”string。非标准的关联容器hash_set、hase_multiset、hash_map和hash_multimap。vector作为str
- STL容器使用总结
张威_kolla_kolla
STL
第1条:慎重选择容器类型。标准STL序列容器:vector、string、deque和list。标准STL关联容器:set、multiset、map和multimap。非标准序列容器slist和rope。slist是一个单向链表,rope本质上是一“重型”string。非标准的关联容器hash_set、hase_multiset、hash_map和hash_multimap。vector作为str
- 大数据分析师常见的面试题解答
丨程序之道丨
1、海量日志数据,提取出某日访问百度次数最多的那个IP。首先是这一天,并且是访问百度的日志中的IP取出来,逐个写入到一个大文件中。注意到IP是32位的,最多有个2^32个IP。同样可以采用映射的方法,比如模1000,把整个大文件映射为1000个小文件,再找出每个小文中出现频率最大的IP(可以采用hash_map进行频率统计,然后再找出频率最大的几个)及相应的频率。然后再在这1000个最大的IP中,
- 代码随想录算法训练营第7天 | 哈希表 | ● 454.四数相加II ● 383. 赎金信 ● 15. 三数之和 ● 18. 四数之和 ● 总结
张木水
算法散列表哈希算法
454.4SumIIGivenfourintegerarraysnums1,nums2,nums3,andnums4alloflengthn,returnthenumberoftuples(i,j,k,l)suchthat:0int:hash_map={}res=0forxinnums1:foryinnums2:hash_map[x+y]=hash_map.get(x+y,0)+1forxinnu
- C++ STL中的 pair
明朗晨光
GeeksForGeeksC/C++c++开发语言pairSTL
pair概述pair用于将两个可能是不同数据类型的值结合在一起。pair提供了一种将两个异构对象存储为单个单元的方法。如果想存储元组,基本上会使用它。pair容器是一个定义在头文件中的简单容器,由两个数据元素或对象组成。第一个元素通过first引用,第二个元素通过second引用,顺序是固定的(first,second)。pair可以赋值、拷贝和比较。map和hash_map中分配的对象数组默认是
- C++常用的容器:vector、string、deque、stack、queue、list、set、map、hash_set、hash_map等的介绍
冲冲冲@chong
笔记c++开发语言
目录1容器:2vector容器:3string容器4deque容器5stack容器6queue容器7list容器8set和multiset容器9pair对组10map/multimap容器11hash_set12hash_map1容器:在C++中容器是标准模板库STL的六大组件之一,主要用于存放数据,常用的容器有vector、string、deque、stack、queue、list、set、ma
- CyberRT源码剖析
keepmovingforward
java开发语言
目录CyberRT代码总览:系统初始化mainBoard初始化Component初始化总结CyberRT代码总览:base:提供一些基础功能接口的封装,主要包括原子hash_map,读写锁,有界无锁队列blocker:待定class_loader:类加载器,基于用户提供的动态库路径,通过反射机制将用户类加载至内存common:提供获取环境变量,操作文件接口,全局配置信息等component:提供c
- hash_map is deprecated and will be REMOVED. Please use unordered_map.
李昊19961128
STL标准模板库
hash_map是C++非标准STL,因为标准化的推进,hash_map属于非标准容器,未来将要用unordered_map替代之。建议我们使用unorder_map替代hash_map,解决办法(1)使用替换或者(2)加宏定义忽略这个错误#define_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS//添加这个宏定义即不报错#ifndef_SILENCE_STD
- fatal error C1189: #error: <hash_map> is deprecated and will be REMOVED.
dragoo1
#编译错误errorC1189hash_mapunordered_mapvs2017
环境:win10,vs2017报错:hash_map(17):fatalerrorC1189:#error:isdeprecatedandwillbeREMOVED.Pleaseuse.Youcandefine_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGStoacknowledgethatyouhavereceivedthiswarning.解决方法:1)使用u
- Chromium源码—base基础库说明
7-sevens
编程杂谈Chromium
Chromium基础库概览Chromium基础库包括的内容十分繁杂,我把其中的主要部分大致分为以下几类:1.容器类型Chromium的代码主要使用STL容器类型,比如std::vector,std::list,另外GCC和MSVC提供的STL扩展容器类型hash_map和hash_set也在Chromium中使用,不过统一放在base名字空间里面,通过base::hash_map,base_has
- C++学习记录——链表—(复制随机指针问题)
dfzy$_$
C++(算法学习)c++c语言
文章目录题目一、利用hash_map函数解决二、进阶解法总结参考文章:题目提示:这里可以添加本文要记录的大概内容:RandomListNode类中的val是节点值,next指针和正常的单链表指针中的next指针的意义一样,都指向下一个节点,rand指针是RandomListNode类中的新增的指针,这个指针可能指向链表中的任意一个节点,也可能指向NULL。给定一个由RandomListNode节点
- STL之关联式容器----红黑树
practicePLUS
标准STL关联式容器分为set(集合)和map(映射表)两大类以及这两大类的衍生体multiset(多键集合)和multimap(多键映射表),这些容器的底层机制均以RB-tree红黑树完成。它也是一个独立容器,但不开放给外界用不在标准规格之列的关联式容器hashtable(散列表/哈希表),和以hashtable为底层机制的hash_set(散列集合)、hash_map(散列映射表)、hash_
- Python:N数之和问题【算法村E5队列笔记(白银)】
Huanghoooooo
笔记算法python数据结构学习
前言偷懒的一天。两数之和(LeetCode1)代码:classSolution:deftwoSum(self,nums:List[int],target:int)->List[int]:hash_map=dict()fori,numinenumerate(nums):iftarget-numinhash_map:return[hash_map[target-num],i]hash_map[nums
- STL-All
empty__barrel
c++开发语言
C++哈希表unordered_map的使用以及与map和hash_map的对比_unordered_maphash_SOC罗三炮的博客-CSDN博客
- C++ 中的unordered_map
FAFACK
c++
一、hash_map、unordered_map内部结构:都是采用哈希表实现的。区别:由于在C标准库中没有定义散列表,标准库的实现提供了一个名为hash_map的非标准散列表。而从C++11开始,哈希表已经添加到C标准库中,决定对类使用备用名称unorder_map。unordered_map使用#include//取得键和值:unordered_maphash;unordered_map::it
- C++进阶——STL源码之hashtable
&动感超人
C/C++STL
STL源码之hashtablehashtable是一种在插入、删除、搜寻等操作上也具有“常数平均时间”(散列表)的数据结构,而且这种表现是以统计为基础,不需依赖输入元素的随机性。STL中hashtable是实现hash_map和hash_set的底层。它解决冲突的方式是开链法,每个放置索引值的节点称为桶节点(也就是该索引值的头结点),桶节点里放着一个value值,一个指向下一个节点的next指针。
- 哈希表(hash table)---python实现
茨球是只猫
数据结构与算法(python)散列表python数据结构
文章目录哈希表(基本概念)冲突解决:数据项链和线性探测数据项链线性探测实现Hash_Map哈希表(基本概念)哈希表(hashtable,又称散列表)是一种数据集,其中数据项的存储方式尤其是有利于将来快速的查找定位。散列表的每一个存储位置,成为槽,可以用来保存数据项,每个槽有一个唯一的名称。实现从数据项到存储名称的转换的,称为散列函数(哈希函数)。有一种常见的散列方法是‘求余数’,将数据项厨艺散列表
- 《Effective STL》读书笔记(一):容器
9ack!?
c++开发语言stl
容器类型:标准STL序列容器:vector,string,deque,list标准STL关联容器:set,multiset,map,multimap非标准序列容器slist和rope非标准关联容器:hash_set,hash_multiset,hash_map,hash_multimap标准的非STL容器:数组,bitset,valarray,stack,queue,qriority_queue不
- STL源码详解
牵着我的猪去看海
C++c++面试STL
STL详解STL介绍空间配置器一级空间配置器二级空间配置器序列式容器vectorlistdeque适配器stackqueueheappriority_queue关联式容器setmultisetmapmultimap非标准容器hash_set(unordered_set)hash_multiset(unordered_multiset)hash_map(unordered_map)hash_mult
- 【转载】魔数-0XDEADBEEF
running_sheep
大家好,我是鱼皮,无意间在网上看到了这么一张图:image.png刚看到这段代码时,我是比较吃惊的,作者竟然使用了一个英文单词deadbeef来定义宏常量!我本来以为只是一位幽默的程序员的小玩笑,但后来查阅资料才知道,上图的这段代码竟是C++的hash_map源码!而作者使用这个特殊的英文单词也是“别有用心”。deadbeef的英文直译是死牛肉,但在编程领域中,它却有更深层的含义。给这个单词加上0
- C++哈希表unordered_map的使用以及与map和hash_map的对比
SOC罗三炮
STLCPP数据结构与算法c++数据结构
哈希表c++中map与unordered_map的区别内部实现机理优缺点以及适用处map优点map缺点unordered_map优点unordered_map缺点unordered_map是hash_map的替代名称hash_map原理unordered_map详解1.原型2.说明3.容器属性4.常用函数unordered_set集合形式的哈希表c++中map与unordered_map的区别内部
- STL 顺序容器,关联容器
小喾
c++
序列容器:vector,list,deque,stack,queue,heap,priority_queue,slist.关联容器:set,map,multiset,multimap底层机制都是以RB-tree完成的。hash_set,hash_map,hash_multiset,hash_multimap的底层机制是hashtabel。通用容器的分类STL对定义的通用容器分三类:顺序性容器、关联
- 【C++】 STL(上)STL简述、STL容器
程序员懒羊羊
C++进阶之路c++数据结构算法
文章目录简述STL容器list链表vector向量deque双端队列map映射表set集合hash_map哈希表简述STL是“StandardTemplateLibrary”的缩写,中文译为“标准模板库”。STL是C++标准库的一部分,位与各个C++的头文件中,即他并非以二进制代码的形式提供,而是以源码的形式提供。STL体现了泛型编程的思想,大部分基本算法被抽象,被泛化,独立于与之对应的数据结构,
- Twitter-高性能hash_map
KPer_Yang
机器学习哈希算法算法散列表
学习twitter的高性能散列表源码:个人认为Twitter散列表的优点:1、使用C宏定义实现C++泛型的思想;2、散列函数冲突小;3、使用bitmap思想,标志位占用空间小;4、自动扩展容量,判断扩容的条件;个人认为Twitter散列表的缺点:1、值的类型都用指针指向,对于值类型是简单整型有指针占用空间的缺点;(虽然值类型是基本整型的情况较少,但是可以通过宏进行值类型是基本类型进行选定)1、使用
- hash_map原理
小田mas
算法程序人生
hash_map基本原理是:使用一个下标范围比较大的数组来存储元素。可以设计一个函数(哈希函数,也叫做散列函数),使得每个元素的关键字都与一个函数值(即数组下标,hash值)相对应,于是用这个数组单元来存储这个元素;也可以简单的理解为,按照关键字为每一个元素“分类”,然后将这个元素存储在相应“类”所对应的地方,称为桶。但是,不能够保证每个元素的关键字与函数值是一一对应的,因此极有可能出现对于不同的
- effective STL 读书笔记——第一章:容器
卢然小子
effectivestleffect-stl容器
条款1:仔细选择你的容器常见容器:标准STL序列容器:vector、string、deque和list标准STL关联容器:set、multiset、map和multimap非标准序列容器:slist和rope非标准关联容器:hash_set、hash_multiset、hash_map和hash_multimap标准非STL容器:bitset、valarray、stack、queue和priori
- Effective STL之容器
~青萍之末~
#C++STLstlc++
一、慎重选择容器类型1、容器分类标准STL序列容器:vector,string,deque,list;标准STL关联容器:set,multiset,map,multimap;非标准关联容器(基于散列表):hash_set,hash_multiset,hash_map,hash_multimap;几种标准的非STL容器:数组、bitset、stack、queue、priority_queue;连续内
- LeetCode刷题_c++版-49字母异位词分组
weixin_44343355
Leetcode刷题leetcodec++哈希算法算法数据结构
知识点hash_maphash_map的遍历sort函数的使用字符串排序代码classSolution{public:vector>groupAnagrams(vector&strs){vector>result;if(strs.size()==0)returnresult;map>hash_map;for(inti=0;itemp;hash_map[temp_str]=temp;}//将字符串p
- LeetCode刷题_c++版-3无重复字符的最长子串
weixin_44343355
Leetcode刷题c++leetcode算法开发语言数据结构
知识点双指针维护窗口hash_map代码classSolution{public:intlengthOfLongestSubstring(strings){//双指针维护窗口intbegin=0;intend=0;intresult=0;intmaxLength=0;mapchar_map;//当end未到达最后时,持续循环while(endresult)result=maxLength;end+
- TOMCAT在POST方法提交参数丢失问题
357029540
javatomcatjsp
摘自http://my.oschina.net/luckyi/blog/213209
昨天在解决一个BUG时发现一个奇怪的问题,一个AJAX提交数据在之前都是木有问题的,突然提交出错影响其他处理流程。
检查时发现页面处理数据较多,起初以为是提交顺序不正确修改后发现不是由此问题引起。于是删除掉一部分数据进行提交,较少数据能够提交成功。
恢复较多数据后跟踪提交FORM DATA ,发现数
- 在MyEclipse中增加JSP模板 删除-2008-08-18
ljy325
jspxmlMyEclipse
在D:\Program Files\MyEclipse 6.0\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.0.1.zmyeclipse601200710\templates\jsp 目录下找到Jsp.vtl,复制一份,重命名为jsp2.vtl,然后把里面的内容修改为自己想要的格式,保存。
然后在 D:\Progr
- JavaScript常用验证脚本总结
eksliang
JavaScriptjavaScript表单验证
转载请出自出处:http://eksliang.iteye.com/blog/2098985
下面这些验证脚本,是我在这几年开发中的总结,今天把他放出来,也算是一种分享吧,现在在我的项目中也在用!包括日期验证、比较,非空验证、身份证验证、数值验证、Email验证、电话验证等等...!
&nb
- 微软BI(4)
18289753290
微软BI SSIS
1)
Q:查看ssis里面某个控件输出的结果:
A MessageBox.Show(Dts.Variables["v_lastTimestamp"].Value.ToString());
这是我们在包里面定义的变量
2):在关联目的端表的时候如果是一对多的关系,一定要选择唯一的那个键作为关联字段。
3)
Q:ssis里面如果将多个数据源的数据插入目的端一
- 定时对大数据量的表进行分表对数据备份
酷的飞上天空
大数据量
工作中遇到数据库中一个表的数据量比较大,属于日志表。正常情况下是不会有查询操作的,但如果不进行分表数据太多,执行一条简单sql语句要等好几分钟。。
分表工具:linux的shell + mysql自身提供的管理命令
原理:使用一个和原表数据结构一样的表,替换原表。
linux shell内容如下:
=======================开始 
- 本质的描述与因材施教
永夜-极光
感想随笔
不管碰到什么事,我都下意识的想去探索本质,找寻一个最形象的描述方式。
我坚信,世界上对一件事物的描述和解释,肯定有一种最形象,最贴近本质,最容易让人理解
&
- 很迷茫。。。
随便小屋
随笔
小弟我今年研一,也是从事的咱们现在最流行的专业(计算机)。本科三流学校,为了能有个更好的跳板,进入了考研大军,非常有幸能进入研究生的行业(具体学校就不说了,怕把学校的名誉给损了)。
先说一下自身的条件,本科专业软件工程。主要学习就是软件开发,几乎和计算机没有什么区别。因为学校本身三流,也就是让老师带着学生学点东西,然后让学生毕业就行了。对专业性的东西了解的非常浅。就那学的语言来说
- 23种设计模式的意图和适用范围
aijuans
设计模式
Factory Method 意图 定义一个用于创建对象的接口,让子类决定实例化哪一个类。Factory Method 使一个类的实例化延迟到其子类。 适用性 当一个类不知道它所必须创建的对象的类的时候。 当一个类希望由它的子类来指定它所创建的对象的时候。 当类将创建对象的职责委托给多个帮助子类中的某一个,并且你希望将哪一个帮助子类是代理者这一信息局部化的时候。
Abstr
- Java中的synchronized和volatile
aoyouzi
javavolatilesynchronized
说到Java的线程同步问题肯定要说到两个关键字synchronized和volatile。说到这两个关键字,又要说道JVM的内存模型。JVM里内存分为main memory和working memory。 Main memory是所有线程共享的,working memory则是线程的工作内存,它保存有部分main memory变量的拷贝,对这些变量的更新直接发生在working memo
- js数组的操作和this关键字
百合不是茶
js数组操作this关键字
js数组的操作;
一:数组的创建:
1、数组的创建
var array = new Array(); //创建一个数组
var array = new Array([size]); //创建一个数组并指定长度,注意不是上限,是长度
var arrayObj = new Array([element0[, element1[, ...[, elementN]]]
- 别人的阿里面试感悟
bijian1013
面试分享工作感悟阿里面试
原文如下:http://greemranqq.iteye.com/blog/2007170
一直做企业系统,虽然也自己一直学习技术,但是感觉还是有所欠缺,准备花几个月的时间,把互联网的东西,以及一些基础更加的深入透析,结果这次比较意外,有点突然,下面分享一下感受吧!
&nb
- 淘宝的测试框架Itest
Bill_chen
springmaven框架单元测试JUnit
Itest测试框架是TaoBao测试部门开发的一套单元测试框架,以Junit4为核心,
集合DbUnit、Unitils等主流测试框架,应该算是比较好用的了。
近期项目中用了下,有关itest的具体使用如下:
1.在Maven中引入itest框架:
<dependency>
<groupId>com.taobao.test</groupId&g
- 【Java多线程二】多路条件解决生产者消费者问题
bit1129
java多线程
package com.tom;
import java.util.LinkedList;
import java.util.Queue;
import java.util.concurrent.ThreadLocalRandom;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.loc
- 汉字转拼音pinyin4j
白糖_
pinyin4j
以前在项目中遇到汉字转拼音的情况,于是在网上找到了pinyin4j这个工具包,非常有用,别的不说了,直接下代码:
import java.util.HashSet;
import java.util.Set;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin
- org.hibernate.TransactionException: JDBC begin failed解决方案
bozch
ssh数据库异常DBCP
org.hibernate.TransactionException: JDBC begin failed: at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:68) at org.hibernate.impl.SessionImp
- java-并查集(Disjoint-set)-将多个集合合并成没有交集的集合
bylijinnan
java
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.ut
- Java PrintWriter打印乱码
chenbowen00
java
一个小程序读写文件,发现PrintWriter输出后文件存在乱码,解决办法主要统一输入输出流编码格式。
读文件:
BufferedReader
从字符输入流中读取文本,缓冲各个字符,从而提供字符、数组和行的高效读取。
可以指定缓冲区的大小,或者可使用默认的大小。大多数情况下,默认值就足够大了。
通常,Reader 所作的每个读取请求都会导致对基础字符或字节流进行相应的读取请求。因
- [天气与气候]极端气候环境
comsci
环境
如果空间环境出现异变...外星文明并未出现,而只是用某种气象武器对地球的气候系统进行攻击,并挑唆地球国家间的战争,经过一段时间的准备...最大限度的削弱地球文明的整体力量,然后再进行入侵......
那么地球上的国家应该做什么样的防备工作呢?
&n
- oracle order by与union一起使用的用法
daizj
UNIONoracleorder by
当使用union操作时,排序语句必须放在最后面才正确,如下:
只能在union的最后一个子查询中使用order by,而这个order by是针对整个unioning后的结果集的。So:
如果unoin的几个子查询列名不同,如
Sql代码
select supplier_id, supplier_name
from suppliers
UNI
- zeus持久层读写分离单元测试
deng520159
单元测试
本文是zeus读写分离单元测试,距离分库分表,只有一步了.上代码:
1.ZeusMasterSlaveTest.java
package com.dengliang.zeus.webdemo.test;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.j
- Yii 截取字符串(UTF-8) 使用组件
dcj3sjt126com
yii
1.将Helper.php放进protected\components文件夹下。
2.调用方法:
Helper::truncate_utf8_string($content,20,false); //不显示省略号 Helper::truncate_utf8_string($content,20); //显示省略号
&n
- 安装memcache及php扩展
dcj3sjt126com
PHP
安装memcache tar zxvf memcache-2.2.5.tgz cd memcache-2.2.5/ /usr/local/php/bin/phpize (?) ./configure --with-php-confi
- JsonObject 处理日期
feifeilinlin521
javajsonJsonOjbectJsonArrayJSONException
写这边文章的初衷就是遇到了json在转换日期格式出现了异常 net.sf.json.JSONException: java.lang.reflect.InvocationTargetException 原因是当你用Map接收数据库返回了java.sql.Date 日期的数据进行json转换出的问题话不多说 直接上代码
&n
- Ehcache(06)——监听器
234390216
监听器listenerehcache
监听器
Ehcache中监听器有两种,监听CacheManager的CacheManagerEventListener和监听Cache的CacheEventListener。在Ehcache中,Listener是通过对应的监听器工厂来生产和发生作用的。下面我们将来介绍一下这两种类型的监听器。
- activiti 自带设计器中chrome 34版本不能打开bug的解决
jackyrong
Activiti
在acitivti modeler中,如果是chrome 34,则不能打开该设计器,其他浏览器可以,
经证实为bug,参考
http://forums.activiti.org/content/activiti-modeler-doesnt-work-chrome-v34
修改为,找到
oryx.debug.js
在最头部增加
if (!Document.
- 微信收货地址共享接口-终极解决
laotu5i0
微信开发
最近要接入微信的收货地址共享接口,总是不成功,折腾了好几天,实在没办法网上搜到的帖子也是骂声一片。我把我碰到并解决问题的过程分享出来,希望能给微信的接口文档起到一个辅助作用,让后面进来的开发者能快速的接入,而不需要像我们一样苦逼的浪费好几天,甚至一周的青春。各种羞辱、谩骂的话就不说了,本人还算文明。
如果你能搜到本贴,说明你已经碰到了各种 ed
- 关于人才
netkiller.github.com
工作面试招聘netkiller人才
关于人才
每个月我都会接到许多猎头的电话,有些猎头比较专业,但绝大多数在我看来与猎头二字还是有很大差距的。 与猎头接触多了,自然也了解了他们的工作,包括操作手法,总体上国内的猎头行业还处在初级阶段。
总结就是“盲目推荐,以量取胜”。
目前现状
许多从事人力资源工作的人,根本不懂得怎么找人才。处在人才找不到企业,企业找不到人才的尴尬处境。
企业招聘,通常是需要用人的部门提出招聘条件,由人
- 搭建 CentOS 6 服务器 - 目录
rensanning
centos
(1) 安装CentOS
ISO(desktop/minimal)、Cloud(AWS/阿里云)、Virtualization(VMWare、VirtualBox)
详细内容
(2) Linux常用命令
cd、ls、rm、chmod......
详细内容
(3) 初始环境设置
用户管理、网络设置、安全设置......
详细内容
(4) 常驻服务Daemon
- 【求助】mongoDB无法更新主键
toknowme
mongodb
Query query = new Query(); query.addCriteria(new Criteria("_id").is(o.getId())); &n
- jquery 页面滚动到底部自动加载插件集合
xp9802
jquery
很多社交网站都使用无限滚动的翻页技术来提高用户体验,当你页面滑到列表底部时候无需点击就自动加载更多的内容。下面为你推荐 10 个 jQuery 的无限滚动的插件:
1. jQuery ScrollPagination
jQuery ScrollPagination plugin 是一个 jQuery 实现的支持无限滚动加载数据的插件。
2. jQuery Screw
S